Article Details
Id:18831
Product:finPOWER Connect
Type:NEW
Version:3.04.03
Opened:24/11/2021
Closed:07/12/2021
Released:01/02/2022
Job: J027845
Breaking Change

Scripting; UserInterface.CommonDialog; GetInput & GetInputComboBox Forms improved

The GetInput and GetInputComboBox Common Dialog Forms have been enhanced by auto sizing the TextBox / ComboBox based upon the specified Max Length, or the default values. The below enhancements have been made.

GetInput:

  • Auto-size form based upon default text
  • Auto-size form based upon max length
  • Default text will be truncated if it exceeds the maximum length

GetInputComboBox:

  • Auto-size form based upon list
  • Auto-size form based upon default text
  • Auto-size form based upon combination of the above two options and the max length
  • If limited to list, the form now validates if default text is in the csv list
    • If not, it will be ignored
  • CSV List items cannot exceed max length (if specified)
    • If they are, they will be truncated
  • Default text will be truncated if it exceeds the maximum length

It is recommended that existing Scripts using these Common Dialog Forms are reviewed to ensure they meet the above criteria.