[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TWidget.Enabled

Controls whether the widget responds to mouse, keyboard and timer events.

Declaration

Source position: widget.inc line 269

public property TWidget.Enabled: Boolean
  read FEnabled
  write SetEnabled
  default true;

Description

Use Enabled to change the availability of the widget to the user. To disable a control, set Enabled to false. Disabled controls appear dimmed. If Enabled is false, the control ignores mouse, keyboard and timer events.