BB___SINGLECLICKSELECT

=SINGLECLICKSELECT= toc

Description
> Causes program flow to branch to an event handler on a single click of a Listbox list item, rather than the default double-click.

Hints
[Place useful hints about this keyword here]

Example
code format="lb" ' Sample program from JB Help file. Pick a contact status options$(0) = "Cold Contact Phone Call" options$(1) = "Send Literature" options$(2) = "Follow Up Call" options$(3) = "Send Promotional" options$(4) = "Final Call"

listbox #status.list, options$, selectionMade, 5, 35, 250, 90 button #status, "Cancel", [cancelStatusSelection], UR, 15, 5 WindowWidth = 270 : WindowHeight = 180 open "Select a contact status" for window as #status
 * 1) status.list "singleclickselect"

wait

sub selectionMade handle$ print #status.list, "selection? selection$" notice selection$ + " was chosen with listbox ";handle$ end sub

[cancelStatusSelection] notice "Status selection cancelled" close #status end code

Useful Functions
code format="lb" Place a useful function using this keyword here code