Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

ThemeStyle Property, SftMask Object

Defines the theme style of the control (if UseThemes enabled).

Syntax

Get

VB.NETStyle = object.ThemeStyle As SftMaskThemeStyleConstants
VBStyle = object.ThemeStyle As SftMaskThemeStyleConstants
C#.NETSftMaskThemeStyleConstants Style = object.ThemeStyle;
VC++enum SftMaskThemeStyleConstants Style = object->ThemeStyle;
enum SftMaskThemeStyleConstants Style = object->GetThemeStyle();
CHRESULT object->get_ThemeStyle(enum SftMaskThemeStyleConstants* Style);

Put

VB.NETobject.ThemeStyle = Style As SftMaskThemeStyleConstants
VBobject.ThemeStyle = Style As SftMaskThemeStyleConstants
C#.NETSftMaskThemeStyleConstants object.ThemeStyle = Style;
VC++enum SftMaskThemeStyleConstants object->ThemeStyle = Style;
void object->PutThemeStyle(enum SftMaskThemeStyleConstants Style);
CHRESULT object->put_ThemeStyle(enum SftMaskThemeStyleConstants Style);

object

A SftMask object.

Style

Defines the theme style of the control (if UseThemes enabled).

NameValueDescription
themeSftMaskStrict0Strict - The BackColor and BackColorInvalid properties are not honored.
themeSftMaskBackColorOverride1Allow BackColor Override - The BackColor and BackColorInvalid properties are honored.
themeSftMaskVB6Style2VB6-Style - A disabled or locked control uses the same background color as a disabled or locked VB6 edit control. The BackColor and BackColorInvalid properties are not honored.
themeSftMaskVB6StyleBackColorOverride3VB6-Style, Allow BackColor Override - A disabled or locked control uses the same background color as a disabled or locked VB6 edit control. The BackColor and BackColorInvalid properties are honored.

Comments

The ThemeStyle property defines the theme style of the control (if UseThemes enabled).

This property only takes effect if Windows themes are used and the UseThemes property is set to True.

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.