enable

enable specifies whether any user interaction can be performed with a widget (i.e. whether it is active or not).

Form XML code:

<element_name visible="true"identifier="f1"enable="true">
By default, enable is set implicitly to true and is displayed as unknown in the Properties view and absent from the form XML code:

The property value will appear in the form XML code only once it is set explicitly (the Properties view will change as well):

Possible values:

true, false

Default value:

true

Associated containers and widgets:

BorderPanel

CoordPanel

GridPanel

GroupBox

StackPanel

ScrollViewer

Tab

TabPage

Table

TreeTable

BlobViewer

Button

Calendar

Canvas

CheckBox

ComboBox

FunctionField

Label

ListBox

MenuBar

MenuGroup

MenuCommand

ProgressBar

RadioGroup

PlaceHolder

Spinner

TextArea

TextField

Toolbar

ToolbarButton

TimeEditField

WebComponent

Associated 4gl syntax:

INPUT

DISPLAY ... TO

Associated ui methods:

SetEnable

GetEnable

Influence and behavior:

With the enable property set to false, widgets and containers become inactive at runtime:

property set in the form

runtime appearance

 

There are three methods to enable/disable a widget at runtime.

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.