Determines whether the control is enabled or not.
control. enabled = value
Type returned: Boolean
Where
Control
Is the name of a control inserted in the form, or the form itself in case of Win interfaces.
When disabled, it prevents the user from interacting with the control. This property only applies to the User interface.
It applies to the following Controls: Bitmaps, Buttons, Check Boxes, Combo Boxes, Dynamic Combo Boxes, Dynamic List Boxes, Edits, Forms, List Boxes, Radio Buttons, Texts Blocks.
Transaction rules
EvtBtn.Enabled = True If Update; // The button is disabled if in update mode (EvtBtn is button control).
Att2.Enabled = False If Not Null(Att1); // Attribute Att2 cannot be edited if attribute Att1 is not null.
WebPanel events
Event 'SampleEvent'
If (&Variable.isEmpty())
ControlName.Enabled = false
else
ControlName.Enabled = true
EndIf
EndEvent
Objects: Transaction, Web Panel
Platforms: Web(.Net, Java)
NoAccept rule