SftButton/OCX 2.5

SftButton.HoverStyle Property

Softel vdm, Inc.

Defines how images respond to mouse cursor positions.

Syntax       

Get

VB.NET

Style = object.HoverStyle  As SftButtonHoverStyleConstants

VB

Style = object.HoverStyle  As SftButtonHoverStyleConstants

C#.NET

SftButtonHoverStyleConstants Style = object.HoverStyle;

VC++

enum SftButtonHoverStyleConstants Style = object->HoverStyle;
enum SftButtonHoverStyleConstants Style = object->GetHoverStyle();

C

HRESULT object->get_HoverStyle(enum SftButtonHoverStyleConstants* Style);

Delphi

Style := object.HoverStyle  : TOleEnum;

Put

VB.NET

object.HoverStyle = Style  As SftButtonHoverStyleConstants

VB

object.HoverStyle = Style  As SftButtonHoverStyleConstants

C#.NET

SftButtonHoverStyleConstants object.HoverStyle = Style;

VC++

enum SftButtonHoverStyleConstants object->HoverStyle = Style;
void object->PutHoverStyle(enum SftButtonHoverStyleConstants Style);

C

HRESULT object->put_HoverStyle(enum SftButtonHoverStyleConstants Style);

Delphi

object.HoverStyle := Style  : TOleEnum;

object

A SftButton object.

Style

Defines how images respond to mouse cursor positions.

Name

Value

Description

hoverstyleSftButtonControl

0

Control - The pictures defined using the Image1Hover and Image2Hover properties are used as soon as the mouse cursor is over the control, not necessarily over the picture component itself.

hoverstyleSftButtonExact

1

Exact - The pictures defined using the Image1Hover and Image2Hover properties are used only when the mouse cursor is over the picture component itself, otherwise the pictures defined using Image1 and Image2 are used.

Comments

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