ListBoxOnSelect

HC GUI programming ListBoxes ListBoxOnSelect
ListBoxOnKeyUp ListBoxOnDClick

ListBoxOnSelect alistbox commands


Command to set the custom event handler for the select event of the ListBox alistbox to commands. The select event is generated when the user selects a choice with a mouseclick or a keypress.

Example:

lb=ListBox [][LB] [[The first String][S2][S3]] [][]
ListBoxOnSelect lb [pr ListBoxSelections]

Reference:

ListBoxOnKeyUp ListBoxOnDClick