Skip to main content

TcxTab.Enabled Property

Specifies whether the tab is enabled.

Declaration

property Enabled: Boolean read; write;

Property Value

Type
Boolean

Remarks

Use the Enabled property to specify whether the tab responds to user clicks. If this property value is True, the tab is enabled. Otherwise, it is grayed and doesn’t respond to user clicks.

The following line of code disables the second tab:

cxTabControl1.Tabs.Tabs[1].Enabled := False;

The default value of the Enabled property is True.

See Also