Gets or sets the name of the macro or script to be run when the DropDown event occurs.
object.OnDropDown = [string]
Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is a string expression specifying the macro or script to run.
Newlook Smartclient only.
The DropDown event occurs when the list portion of a Combo box control, the calendar portion of a Date combo control or the calculator portion of the NumericCombo control is about to drop down.
The OnDropDown property can be used to make final updates to a control before the user makes a selection from the drop down. In the case of a combo box control, this allows you to add or remove items from the list. This flexibility is useful when you want some interplay between controls. For example, if what you want to load into a combo box list depends on what the user selects in an option button group.
The DropDown event occurs when the drop down button of the control is clicked, whereas the Click event occurs when the text area of the control is clicked. If you want logic to be executed when any part of the control is clicked you will need to assign a macro or script to both the OnDropDown property and OnClick property. Note that this event is always triggered before the change event (in the case where the value of the control has changed as a result of drop down selection).
OnChange property | OnClick property