If the Enabled property is set to false, the Control's state or value cannot be changed by the user.

Note For Timer Control: This property controls whether the Timer event will be triggered at the time interval specified in the Interval property. If the Enabled property is set to false, the Timer event will not be triggered.


Possible Values

Boolean


Applies to

Form, TextLabel, TextEdit, Button, ComboBox, Container, ContainerSetPage, Dropdown, Checkbox, OptionButton, DateTimeEdit, ListBox, Image, Rectangle, Flash, Timer

Syntax

FX Code

  Procedure Form1.txtNameKeyUp(Event: TDOMEvent);
  Begin
      btnSubmit.Enabled := Not txtName.Text.Equals('');
  End;

Related Topics

Properties