Skip to main content

TdxBarManager.FlatCloseButton Property

Specifies the border style of the Close button on the current bar manager’s main menu.

Declaration

property FlatCloseButton: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

If the FlatCloseButton property is set to True, the Close button on the current bar manager’s toolbar that represents a main menu is drawn flat. Otherwise, it has a 3D appearance.

Note

The value of the FlatCloseButton property influences the appearance of the main menu’s Close button only when the current bar manager’s style is standard or enhanced.

In the following table a main menu with the Close button is displayed with different values for the FlatCloseButton property.

Value Image
False
True

Use the ShowCloseButton property to show the Close button of the main menu.

See Also