SftButton/OCX 2.5

SftButton.Image2Pressed Property

Softel vdm, Inc.

Defines the second graphic when the button is pressed.

Syntax       

Get

VB.NET

refImageObj = object.Image2Pressed  As SftPictureObject

VB

Set refImageObj = object.Image2Pressed  As SftPictureObject

C#.NET

SftPictureObject refImageObj = object.Image2Pressed;

VC++

ISftPictureObject* refImageObj = object->Image2Pressed;
ISftPictureObject* refImageObj = object->GetImage2Pressed();

C

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

Delphi

refImageObj := object.Image2Pressed  : ISftPictureObject;

Put

VB.NET

object.Image2Pressed = refImageObj  As SftPictureObject

VB

object.Image2Pressed = refImageObj  As SftPictureObject

C#.NET

SftPictureObject object.Image2Pressed = refImageObj;

VC++

ISftPictureObject* object->Image2Pressed = refImageObj;
void object->PutImage2Pressed(ISftPictureObject* refImageObj);

C

HRESULT object->put_Image2Pressed(ISftPictureObject* refImageObj);

Delphi

object.Image2Pressed := refImageObj  : ISftPictureObject;

object

A SftButton object.

refImageObj

Defines the second graphic when the button is pressed.

Comments

The Image2Pressed property defines the second graphic when the button is pressed.

The Image2Pressed property is only used if the Image2 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