JVCL Help:TJvTabBarItem.Selected
JVCL Help: TJvTabBarItem.Selected Property
Search in JVCL Help
Search in all projectsSummary
Indicates if the tab is currently selected in the TabBar control.
Pascal
propertySelected: Boolean;
Description
Selected is a Boolean property that indicates if the collection item is the currently selected tab in the TabBar control.
Reading the value in Selected checks to see if the selected tab in the TabBar control is the same as the current collection item.
Changing the value of the Selected property to True causes the SelectedTab in TJvTabBar to be updated to reflect the value of the collection item. Changing the value of the Selected property to False has no effect; another Tab must be selected in the TabBar control.
Selected is not a stored property. That is, the value of the property cannot be restored using the VCL component streaming mechanism and must be determined at run-time.
Use Enabled and OnGetEnabled to determine if the Tab is available for use in the TabBar control.
Use Visible to indicate if the Tab can be displayed in the TabBar control.
Use CanSelect to determine if a tab in the TabBar control is both Enabled and Visible.
See Also
TJvCustomTabBar.SelectedTab, TJvTabBarItem.Enabled, TJvTabBarItem.OnGetEnabled, TJvTabBarItem.Visible, TJvTabBarItem.CanSelect
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page