Determines if the ribbon application button is the first tab on the tab bar instead of a round button in the corner.

Usage

Set_Property(OLECtrlEntID, "OLE.SystemButtonIsTab", Boolean)

Values

[True | False]

Default: False

Remarks

The SystemButtonIsTab property establishes how the application button is presented to the user. The application button is the circular button in the top left corner, and it is essentially the equivalent of the File menu present on most applications. When clicked, it shows the Backstage, which is where the user can set options, save files, exit the application, etc. The application button also prominently displays your form's icon.

If you would rather have a tab, instead of the circular button, set this property to True. Doing so will change the application button into a blue tab that appears to the left of all other ribbon tabs. You can set the text of the tab using the SystemButtonCaption property. Your form's icon will appear as normal in the form's frame and only the text will be displayed. By default, the text set to "File".

Example

// Change the application button into a tab
Set_Property(@Window:".OLE_RIBBON", "OLE.SystemButtonIsTab", 1)

See Also

SystemButtonCaption

  • No labels