SftButton/OCX 2.5

SftButton.Image2Disabled Property

Softel vdm, Inc.

Defines the second graphic when the button is disabled.

Syntax       

Get

VB.NET

refImageObj = object.Image2Disabled  As SftPictureObject

VB

Set refImageObj = object.Image2Disabled  As SftPictureObject

C#.NET

SftPictureObject refImageObj = object.Image2Disabled;

VC++

ISftPictureObject* refImageObj = object->Image2Disabled;
ISftPictureObject* refImageObj = object->GetImage2Disabled();

C

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

Delphi

refImageObj := object.Image2Disabled  : ISftPictureObject;

Put

VB.NET

object.Image2Disabled = refImageObj  As SftPictureObject

VB

object.Image2Disabled = refImageObj  As SftPictureObject

C#.NET

SftPictureObject object.Image2Disabled = refImageObj;

VC++

ISftPictureObject* object->Image2Disabled = refImageObj;
void object->PutImage2Disabled(ISftPictureObject* refImageObj);

C

HRESULT object->put_Image2Disabled(ISftPictureObject* refImageObj);

Delphi

object.Image2Disabled := refImageObj  : ISftPictureObject;

object

A SftButton object.

refImageObj

Defines the second graphic when the button is disabled.

Comments

The Image2Disabled property defines the second graphic when the button is disabled.

The Image2Disabled property is only used if the Image2 property defines a valid picture and if the control is disabled (see Enabled property).


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