Name
Area.Selected -- set/get selected state of a gadget (V1.5)
Function
Get and set the selected state of a gadget. This attribute can be triggered by the user clicking on the gadget (or using the keyboard), depending on the input mode:

RelVerify:
Set when lmb is pressed. Cleared when lmb is released. Cleared when the gadget is selected and the mouse leaves the gadget box. Set when the mouse reenters the gadget box.

Immediate:
Set when lmb is pressed.

Toggle:
Toggled when lmb is pressed.

Of course you may set this attribute yourself, e.g. to adjust the state of a checkmark gadget.

A selected gadget will display its border reverse and get the configured SelectedBack background. This can be avoided using the Area.ShowSelState tag.

Type
Boolean

Applicability
ISGN


Show TOC