TdxCustomRibbon.ShowFormIcon Property
In This Article
Specifies if the application icon is visible.
#Declaration
Delphi
property ShowFormIcon: TdxDefaultBoolean read; write; default bDefault;
#Property Value
Type | Default | Description |
---|---|---|
Tdx |
b |
|
#Remarks
The Ribbon Form hides or displays the application icon depending on the active Ribbon UI style. A click on the application icon displays a window system menu.
Set the ShowFormIcon
property to bTrue or bFalse if you need to explicitly display or hide the application icon. If the application icon is hidden, you can use the FormIconPlaceholderWidth property to resize the space allocated for the icon.
#Limitations
The ShowFormIcon
property is in effect only if the following conditions are met:
- The SupportNonClientDrawing property is set to
True
(recommended). - The parent Ribbon Form‘s BorderStyle property is set to
bsSizeable
orbsSingle
.
#Default Value
The ShowFormIcon
property’s default value is bDefault.
The default ShowFormIcon
property value indicates that application icon visibility depends on the Style property value:
- rsOffice365 | rs2013 | rs2010
- The application icon is visible.
- rs2007 | rs2016 | rs2016Tablet | rs2019
- The application icon is hidden.
See Also