The currently active tab.

Usage

Set_Property(OLECtrlEntID, "OLE.SelectedTab", TabKey)

Values

TabKey can be a key to any existing tab.

Remarks

The SelectedTab property gets or sets the current active tab. When you defined your tabs during the Init method, you gave each of them a unique key. You must pass that key in order to make that the current tab. If the key is valid, then the ribbon is immediately redrawn to show that tab and all its contents.

Example

// Active the Home tab
Set_Property(@Window:".OLE_RIBBON", "OLE.SelectedTab", "HOME")

// Get the current tab
SelectedTab = Get_Property(@Window:".OLE_RIBBON", "OLE.SelectedTab")

See Also

TabVisible

  • No labels