Hide

SftButton/OCX 3.0 - Button Control

Display
Print

ImageBackgroundHover Property, SftButton Object

Defines the background image when the mouse cursor is located on the control.

Syntax

Get

VB.NETrefImageObj = object.ImageBackgroundHover As SftPictureObject
VBSet refImageObj = object.ImageBackgroundHover As SftPictureObject
C#.NETSftPictureObject refImageObj = object.ImageBackgroundHover;
VC++ISftPictureObject* refImageObj = object->ImageBackgroundHover;
ISftPictureObject* refImageObj = object->GetImageBackgroundHover();
CHRESULT object->get_ImageBackgroundHover(ISftPictureObject** refImageObj);

Put

VB.NETobject.ImageBackgroundHover = refImageObj As SftPictureObject
VBobject.ImageBackgroundHover = refImageObj As SftPictureObject
C#.NETSftPictureObject object.ImageBackgroundHover = refImageObj;
VC++ISftPictureObject* object->ImageBackgroundHover = refImageObj;
void object->PutImageBackgroundHover(ISftPictureObject* refImageObj);
CHRESULT object->put_ImageBackgroundHover(ISftPictureObject* refImageObj);

object

A SftButton object.

refImageObj

Defines the background image when the mouse cursor is located on the control.

Comments

The ImageBackgroundHover property defines the background image when the mouse cursor is located on the control.

Each button control offers an optional background image, which is always displayed centered within the available space inside the button. Other components of the button, like the attributes defined using the Text, Image1 or Image2 properties, simply overlay the background image.

Depending on the button state, the background image defined using the ImageBackground, ImageBackgroundDisabled, ImageBackgroundHover or ImageBackgroundPressed is displayed.

The background image is not displayed in the drop down portion of a drop down button.

See Also SftButton Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.