Partilhar via


FormComboBoxControl.selectionChange Method

Definition

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

public:
 virtual int selectionChange();
public virtual int selectionChange ();
abstract member selectionChange : unit -> int
override this.selectionChange : unit -> int
Public Overridable Function selectionChange () As Integer

Returns

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

Remarks

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; 
}

Applies to