Share via


FormComboBoxControl.selectionChange Method

Indicates that the user has changed the selected item in the combo box control.

Syntax

public int selectionChange()

Run On

Client

Return Value

Type: int
true if the event was processed successfully; otherwise, false.

Examples

The following example shows how the selectionChange method can be overridden to display an Infolog message when the user changes the selected item in the combo box control.

public int selectionChange() 
{ 
    int ret; 
 
    info("The selection has changed."); 
    ret = super(); 
 
    return ret; 
}

See Also

FormComboBoxControl Class

Methods on Form Controls