SftButton/OCX 2.5

SftButton.Image2Hover Property

Softel vdm, Inc.

Defines the second graphic when the mouse cursor is located on the control.

Syntax       

Get

VB.NET

refImageObj = object.Image2Hover  As SftPictureObject

VB

Set refImageObj = object.Image2Hover  As SftPictureObject

C#.NET

SftPictureObject refImageObj = object.Image2Hover;

VC++

ISftPictureObject* refImageObj = object->Image2Hover;
ISftPictureObject* refImageObj = object->GetImage2Hover();

C

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

Delphi

refImageObj := object.Image2Hover  : ISftPictureObject;

Put

VB.NET

object.Image2Hover = refImageObj  As SftPictureObject

VB

object.Image2Hover = refImageObj  As SftPictureObject

C#.NET

SftPictureObject object.Image2Hover = refImageObj;

VC++

ISftPictureObject* object->Image2Hover = refImageObj;
void object->PutImage2Hover(ISftPictureObject* refImageObj);

C

HRESULT object->put_Image2Hover(ISftPictureObject* refImageObj);

Delphi

object.Image2Hover := refImageObj  : ISftPictureObject;

object

A SftButton object.

refImageObj

Defines the second graphic when the mouse cursor is located on the control.

Comments

The Image2Hover property defines the second graphic when the mouse cursor is located on the control.

The Image2Hover property is only used if the Image2 property defines a valid picture and the mouse cursor is located over the control or picture component (depending on the HoverStyle property).

The HoverStyle property defines how images respond to mouse cursor positions.


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