|
|
|
SftButton.UseThemes Property |
Defines whether Windows themes can be used.
Syntax
VB.NET |
Style = object.UseThemes As SftButtonThemesConstants |
||
VB |
Style = object.UseThemes As SftButtonThemesConstants |
||
C#.NET |
SftButtonThemesConstants Style = object.UseThemes; |
||
VC++ |
enum SftButtonThemesConstants Style = object->UseThemes;
|
||
C |
HRESULT object->get_UseThemes(enum SftButtonThemesConstants* Style); |
||
Delphi |
Style := object.UseThemes : TOleEnum; |
||
VB.NET |
object.UseThemes = Style As SftButtonThemesConstants |
||
VB |
object.UseThemes = Style As SftButtonThemesConstants |
||
C#.NET |
SftButtonThemesConstants object.UseThemes = Style; |
||
VC++ |
enum SftButtonThemesConstants object->UseThemes = Style;
|
||
C |
HRESULT object->put_UseThemes(enum SftButtonThemesConstants Style); |
||
Delphi |
object.UseThemes := Style : TOleEnum; |
object
A SftButton object.
Style
Defines whether Windows themes can be used.
Name |
Value |
Description |
0 |
Windows themes are never used. |
|
1 |
Windows themes are used if available. |
|
2 |
Windows themes are used if available. The button's caption (Text) is rendered using the defined colors and themes are ignored. Themes are only used for the button background. |
Comments
The UseThemes property defines whether Windows themes can be used.
Windows themes are only available on Windows XP and above. Older Windows versions do not support Windows themes and this property has no effect.