ExpressionEdit.BrowseExprDialogOpened
- Updated2025-07-21
- 1 minute(s) read
ExpressionEdit.BrowseExprDialogOpened
Syntax
ControlName_BrowseExprDialogOpened( dlgTitle, dlgOptions, selectionStart, selectionEnd, initialVariableName, cancel)
Applies To
Purpose
Occurs just before the ExpressionEdit control displays the Expression Browser dialog box. Use this event to override the default parameter values the ExpressionEdit control passes to the Expression Browser dialog box or to cancel displaying the Expression Browser dialog box to the user.
Parameters
dlgTitle As String
[In/Out] Specifies the title of the Expression Browser dialog box. Assign a value to this parameter to override the default title.
dlgOptions As Long
[In/Out] Specifies the BrowseExprDialogOptions the ExpressionEdit control passes to the Expression Browser dialog box. Assign a value to this parameter to override the default options.
selectionStart As Long
[In/Out] Specifies the zero-based character index where selection begins. Assign a value to this parameter to override the default start of selection.
selectionEnd As Long
[In/Out] Specifies the zero-based character index where selection ends. Assign a value to this parameter to override the default end of selection.
initialVariableName As String
[In/Out] Specifies the name of the initial variable or property to show as selected in the tree view portion of the Expression Browser dialog box. Assign a value to this parameter to override the default initially selected variable. Assign an empty string to this parameter to select the first item.
cancel As Boolean
[Out] Assign True to this parameter to prevent the ExpressionEdit control from displaying the Expression Browser dialog box to the user.
See Also
Engine.DisplayBrowseExprDialogEx