Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Theme property establishes the visual presentation of the shortcut bar, and there are 12 styles to choose from. Furthermore, themes have their own hot track styles and margin settings, which will be used if you have the HotTrackStyle or Margins property set to "Default". However, you can modify the hot track style or margins of any theme to suit your needs.

Some themes render special groups differently for emphasis. See the GroupSpecial property for more details.

...

Code Block
// Set an Office theme 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.Theme", "Office2003") 

// Set a plain theme 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.Theme", "OfficeXPPlain") 

// Set a toolbox theme 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.Theme", "ToolboxWhidbey") 

// Set a list view theme 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.Theme", "ListViewOffice2003")

See Also

HotTrackStyleMarginsGroupSpecial