The control's visual style.
Usage
Set_Property(OLECtrlEntID, "OLE.Theme", OptionValue)
Values
OptionValue can be set to one of the following valid options:
Value | Description |
---|---|
MSN | MSN Messenger theme |
Office2000 | MS Office 2000 theme |
OfficeXP | MS Office XP theme |
Office2003 | MS Office 2003 theme |
Office2007Blue | MS Office 2007 blue theme |
Office2007Black | MS Office 2007 black theme |
Office2007Silver | MS Office 2007 silver theme |
Office2010Blue | MS Office 2010 blue theme |
Office2010Black | MS Office 2010 black theme |
Office2010Silver | MS Office 2010 silver theme |
Windows7 | Windows 7 theme |
Office2013 | MS Office 2013 theme |
Custom | Custom 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.
Office2000 | OfficeXP | Office2003 | Office2007Blue |
Office2007Black | Office2007Silver | Office2010Blue | Office2010Black |
Office2010Silver | Windows7 | Office2013 | Custom |
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")