SftButton/OCX 2.5

SftButton.Image1Pressed Property

Softel vdm, Inc.

Defines the first graphic when the button is pressed.

Syntax       

Get

VB.NET

refImageObj = object.Image1Pressed  As SftPictureObject

VB

Set refImageObj = object.Image1Pressed  As SftPictureObject

C#.NET

SftPictureObject refImageObj = object.Image1Pressed;

VC++

ISftPictureObject* refImageObj = object->Image1Pressed;
ISftPictureObject* refImageObj = object->GetImage1Pressed();

C

HRESULT object->get_Image1Pressed(ISftPictureObject** refImageObj);

Delphi

refImageObj := object.Image1Pressed  : ISftPictureObject;

Put

VB.NET

object.Image1Pressed = refImageObj  As SftPictureObject

VB

object.Image1Pressed = refImageObj  As SftPictureObject

C#.NET

SftPictureObject object.Image1Pressed = refImageObj;

VC++

ISftPictureObject* object->Image1Pressed = refImageObj;
void object->PutImage1Pressed(ISftPictureObject* refImageObj);

C

HRESULT object->put_Image1Pressed(ISftPictureObject* refImageObj);

Delphi

object.Image1Pressed := refImageObj  : ISftPictureObject;

object

A SftButton object.

refImageObj

Defines the first graphic when the button is pressed.

Comments

The Image1Pressed property defines the first graphic when the button is pressed.

The Image1Pressed property is only used if the Image1 property defines a valid picture and the button is pressed (see Pressed property).


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