Skip to content

HideFlags Property

Description

Retrieves the HideFlags of the control.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property HideFlags() As [XTPControlHideFlags](XtremeCommandBars~Enumerations~XTPControlHideFlags_EN.md)

Remarks

HideFlags will tell how a control was hidden if it is hidden or why it is not visible. Most of these flags are read-only and should not be set by the developer.

There is only one situation where you should set these flags manually. The xtpHideCustomize is the only flag that should ever be manually set. You would do this when you want the control to initially be hidden but still exist in the customize popup of the toolbar. This will cause the control to appear in the Add and Remove Buttons popup without a check mark indicating that it is currently hidden. This flag will automatically be set when a command is hidden this way.

HideFlag Value Reason Control is Hidden

Value Reason
0 Control is currently visible.
1 Developer set.
2 Toolbar is too small and the control is wrapped.
4 If a toolbar has a combobox or edit control, when the toolbar is docked on the left or right side of the frame, the CommandBar ComboBox and Edit controls become hidden.
8 There are too many controls in a popup and the control is hidden because the popup is scrolled.
16 User removed it. This is only possible when customization is enabled. This flag is set if the user removes the control from the Add and Remove Buttons popup menu.
32 If the control is rarely used and it is not visible because the intelligent menus option is on and the command is a hidden command.

See Also

CommandBarGallery Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.