SftButton/OCX 2.5

SftButton.ButtonStyle Property

Softel vdm, Inc.

Defines the button style.

Syntax       

Get

VB.NET

Style = object.ButtonStyle  As SftButtonStyleConstants

VB

Style = object.ButtonStyle  As SftButtonStyleConstants

C#.NET

SftButtonStyleConstants Style = object.ButtonStyle;

VC++

enum SftButtonStyleConstants Style = object->ButtonStyle;
enum SftButtonStyleConstants Style = object->GetButtonStyle();

C

HRESULT object->get_ButtonStyle(enum SftButtonStyleConstants* Style);

Delphi

Style := object.ButtonStyle  : TOleEnum;

Put

VB.NET

object.ButtonStyle = Style  As SftButtonStyleConstants

VB

object.ButtonStyle = Style  As SftButtonStyleConstants

C#.NET

SftButtonStyleConstants object.ButtonStyle = Style;

VC++

enum SftButtonStyleConstants object->ButtonStyle = Style;
void object->PutButtonStyle(enum SftButtonStyleConstants Style);

C

HRESULT object->put_ButtonStyle(enum SftButtonStyleConstants Style);

Delphi

object.ButtonStyle := Style  : TOleEnum;

object

A SftButton object.

Style

Defines the button style.

Name

Value

Description

styleSftButtonButton

0

Button

styleSftButtonDropDown

1

Button with drop down button

styleSftButtonNone

2

No Button Background - Only the graphics and text components are displayed. The control area is transparent (except at design time) and only the graphics and text components are rendered transparently on the containing window's background.

Comments

The ButtonStyle property defines the button style.


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