SftMask/OCX 6.5

SftMask.ThemeStyle Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Style = object.ThemeStyle  As SftMaskThemeStyleConstants

VB

Style = object.ThemeStyle  As SftMaskThemeStyleConstants

C#.NET

SftMaskThemeStyleConstants Style = object.ThemeStyle;

VC++

enum SftMaskThemeStyleConstants Style = object->ThemeStyle;
enum SftMaskThemeStyleConstants Style = object->GetThemeStyle();

C

HRESULT object->get_ThemeStyle(enum SftMaskThemeStyleConstants* Style);

Delphi

Style := object.ThemeStyle  : TOleEnum;

Put

VB.NET

object.ThemeStyle = Style  As SftMaskThemeStyleConstants

VB

object.ThemeStyle = Style  As SftMaskThemeStyleConstants

C#.NET

SftMaskThemeStyleConstants object.ThemeStyle = Style;

VC++

enum SftMaskThemeStyleConstants object->ThemeStyle = Style;
void object->PutThemeStyle(enum SftMaskThemeStyleConstants Style);

C

HRESULT object->put_ThemeStyle(enum SftMaskThemeStyleConstants Style);

Delphi

object.ThemeStyle := Style  : TOleEnum;

object

A SftMask object.

Style

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

Name

Value

Description

themeSftMaskStrict

0

Strict - The BackColor and BackColorInvalid properties are not honored.

themeSftMaskBackColorOverride

1

Allow BackColor Override - The BackColor and BackColorInvalid properties are honored.

themeSftMaskVB6Style

2

VB6-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.

themeSftMaskVB6StyleBackColorOverride

3

VB6-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.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com