TdxBarManager.AutoHideEmptyBars Property
Specifies whether the current bar manager’s toolbars with invisible items are visible.
Declaration
property AutoHideEmptyBars: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
Using the Modify button on the Customization Form at design time an end-user can change the visibility state of all the items of a particular category. If the visibility state of all the items of a toolbar is set to ivNever, the toolbar can be displayed as empty or not depending upon the value of the AutoHideEmptyBars property. Assign True to this property at design time for the empty toolbars to be invisible at runtime. Otherwise the toolbars are displayed empty.
Note
Toggling the value of the AutoHideEmptyBars property in code, doesn’t hide empty toolbars. To do this, set this property to True, and change the visibility state of a category’s items via the CategoryItemsVisible property.
Refer to the Customization Form - Category Modify topic to find out how to specify the CategoryItemsVisible property at design time.