Article Details
Id:21195
Product:finPOWER Connect
Type:NEW
Version:4.01.00
Opened:16/02/2024
Closed:16/02/2024
Released:29/04/2024
Job: J032919

CommonDialog; added GetInputComboTextBox common dialog

A new common dialog form has been added, namely GetInputComboTextBox.

This allows a combo box list and text to be entered.

Sample script code:

  Dim ComboBoxText As String
  Dim TextBoxText As String

  If userInterface.CommonDialog.GetInputComboTextBox(ComboBoxText, False, "one,two", True, TextBoxText, False, "Combo Box Caption:", "Text Box Caption:", 100, 100, True, "Combo and text", "Heading") Then
    userinterface.MsgBoxEx("Combo Box: " & ComboBoxText & vbNewLine & "Text Box: " & TextBoxText)
  Else
    userinterface.MsgBoxEx("Cancelled")
  End If