TMUIArea.InputMode
[i] Defines how the item react to user input
Declaration
Source position: MUIClass.Area.pas line 165
published property TMUIArea.InputMode : Integer read FInputMode write SetInputMode default MUIV_InputMode_None; |
Description
efinition of reaction to user input:
- MUIV_InputMode_None
- No input, this is not a gadget.
- 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.
See also
Selected |
|
Get and set the selected state of a gadget. |
Pressed |
|
Mouse press state of the object |
OnClick |
|
Event when Item is selected and in InputMode = MUIV_InputMode_RelVerify |
OnSelected |
|
Event when Item is clicked and in InputMode = MUIV_InputMode_Immediate or MUIV_InputMode_Toggle |