Unit 'MUIClass.Area' Package
[Overview][Types][Classes][Procedures and functions][Index] [#MUIClass]

TMUIArea.Selected

Get and set the selected state of a gadget.

Declaration

Source position: MUIClass.Area.pas line 168

published property TMUIArea.Selected : Boolean
  read GetSelected
  write SetSelected
  default False;

Description

This attribute can be triggered by the user clicking on the gadget (or using the keyboard), depending on the input mode:

MUIV_InputMode_None
MUIV_InputMode_RelVerify
Item pressed down as long the mouse is pressed, up when Mouse is realeased. For buttons and similar stuff.
MUIV_InputMode_Immediate
Item changed the selection status to selected when clicked. Used e.g. in a radio button object.
MUIV_InputMode_Toggle
Item toggles its selection status when clicked. For things like checkmark gadgets.

Documentation generated on: 2024-11-21