ExpressionEdit.InsertComboBoxItem
- Updated2025-07-21
- 1 minute(s) read
ExpressionEdit.InsertComboBoxItem
Syntax
ControlName_InsertComboBoxItem( item, insertStart, insertEnd)
Applies To
Purpose
Occurs when the user selects an item in the drop-down list. This event is useful when you do not want the selected item to replace the existing text.
Remarks
You cannot use this event to change what text to insert into the ExpressionEdit control.
Parameters
item As ExpressionEditComboBoxItem
[In] Specifies the item to insert into the ExpressionEdit control.
insertStart As Long
[In/Out] Specifies the zero-based index of the character where the selected item is inserted.
This parameter is initialized to zero. You can change the value of this parameter to change where the selected item is inserted.
insertEnd As Long
[In/Out] Specifies the zero-based index of the last character the selected item replaces.
This parameter is initialized to the index of the last character in the ExpressionEdit control. You can change the value of this parameter to change what text the selected item replaces.