You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The control's visual style.

Usage

Set_Property(OLECtrlEntID, "OLE.Theme", OptionValue)

Values

OptionValue can be set to one of the following valid options:

ValueDescription
MSNMSN Messenger theme
Office2000MS Office 2000 theme
OfficeXPMS Office XP theme
Office2003MS Office 2003 theme
Office2007BlueMS Office 2007 blue theme
Office2007BlackMS Office 2007 black theme
Office2007SilverMS Office 2007 silver theme
Office2010BlueMS Office 2010 blue theme
Office2010BlackMS Office 2010 black theme
Office2010SilverMS Office 2010 silver theme
Windows7Windows 7 theme
Office2013MS Office 2013 theme
CustomCustom Theme

Default: MSN

Remarks

The Theme property defines the control's visual style--how it is rendered. The built in themes are designed to emulate the look and feel of other well known applications. The "Custom" theme works with the Background property to create a look that is unique to your application.

Example

// Use the Office2003 theme 
Set_Property(@Window:".OLE_POPUP", "OLE.Theme", "Office2003") 

// Use a custom theme 
Set_Property(@Window:".OLE_POPUP", "OLE.Theme", "Custom")

See Also

Background

  • No labels