SftTree/OCX 7.0

SftTree.MouseOverTransitionEffect Property

Softel vdm, Inc.

Defines the transition effects used when the mouse enters/leaves the tree control.

Syntax       

Get

VB.NET

Style = object.MouseOverTransitionEffect  As SftTreeMouseOverTransitionEffectConstants

VB

Style = object.MouseOverTransitionEffect  As SftTreeMouseOverTransitionEffectConstants

C#.NET

SftTreeMouseOverTransitionEffectConstants Style = object.MouseOverTransitionEffect;

VC++

enum SftTreeMouseOverTransitionEffectConstants Style = object->MouseOverTransitionEffect;
enum SftTreeMouseOverTransitionEffectConstants Style = object->GetMouseOverTransitionEffect();

C

HRESULT object->get_MouseOverTransitionEffect(enum SftTreeMouseOverTransitionEffectConstants* Style);

Delphi

Style := object.MouseOverTransitionEffect  : TOleEnum;

Put

VB.NET

object.MouseOverTransitionEffect = Style  As SftTreeMouseOverTransitionEffectConstants

VB

object.MouseOverTransitionEffect = Style  As SftTreeMouseOverTransitionEffectConstants

C#.NET

SftTreeMouseOverTransitionEffectConstants object.MouseOverTransitionEffect = Style;

VC++

enum SftTreeMouseOverTransitionEffectConstants object->MouseOverTransitionEffect = Style;
void object->PutMouseOverTransitionEffect(enum SftTreeMouseOverTransitionEffectConstants Style);

C

HRESULT object->put_MouseOverTransitionEffect(enum SftTreeMouseOverTransitionEffectConstants Style);

Delphi

object.MouseOverTransitionEffect := Style  : TOleEnum;

object

A SftTree object.

Style

Defines the transition effects used when the mouse enters/leaves the tree control.

Name

Value

Description

transitionSftTreeNone

0

None - no transition effects are used.

transitionSftTreeVistaNoFocus

1

Vista+, No Focus - transition effects are only used on Windows Vista and above and only when the control does not have the input focus.

transitionSftTreeVista

2

Vista+ - transition effects are only used on Windows Vista and above.

transitionSftTreeAlwaysNoFocus

3

Always, No Focus - transition effects are used on all Windows versions, but only when the control does not have the input focus.

transitionSftTreeAlways

4

Always - transition effects are used on all Windows versions.

Comments

The MouseOverTransitionEffect property defines the transition effects used when the mouse enters/leaves the tree control.

A gradual, visual transition is used to show/hide the expand/collapse buttons and tree lines when the mouse cursor enters/leaves the tree control.

Expand/collapse buttons and tree lines must be suitably defined to be visible (using ButtonStyle and Items.TreeLineStyle), otherwise this setting has no effect.

GDI+ support is required for transition effects, otherwise the MouseOverTransitionEffect property is ignored.

Transition effects are only shown at runtime. At design-time, expand/collapse buttons and tree lines are shown if defined to be visible (using ButtonStyle and Items.TreeLineStyle).

See Also  SftTree Object | Object Hierarchy


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