Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

MouseOverTransitionEffect Property, SftTree Object

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

Syntax

Get

VB.NETStyle = object.MouseOverTransitionEffect As SftTreeMouseOverTransitionEffectConstants
VBStyle = object.MouseOverTransitionEffect As SftTreeMouseOverTransitionEffectConstants
C#.NETSftTreeMouseOverTransitionEffectConstants Style = object.MouseOverTransitionEffect;
VC++enum SftTreeMouseOverTransitionEffectConstants Style = object->MouseOverTransitionEffect;
enum SftTreeMouseOverTransitionEffectConstants Style = object->GetMouseOverTransitionEffect();
CHRESULT object->get_MouseOverTransitionEffect(enum SftTreeMouseOverTransitionEffectConstants* Style);

Put

VB.NETobject.MouseOverTransitionEffect = Style As SftTreeMouseOverTransitionEffectConstants
VBobject.MouseOverTransitionEffect = Style As SftTreeMouseOverTransitionEffectConstants
C#.NETSftTreeMouseOverTransitionEffectConstants object.MouseOverTransitionEffect = Style;
VC++enum SftTreeMouseOverTransitionEffectConstants object->MouseOverTransitionEffect = Style;
void object->PutMouseOverTransitionEffect(enum SftTreeMouseOverTransitionEffectConstants Style);
CHRESULT object->put_MouseOverTransitionEffect(enum SftTreeMouseOverTransitionEffectConstants Style);

object

A SftTree object.

Style

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

NameValueDescription
transitionSftTreeNone0None - no transition effects are used.
transitionSftTreeVistaNoFocus1Vista+, No Focus - transition effects are only used on Windows Vista and above and only when the control does not have the input focus.
transitionSftTreeVista2Vista+ - transition effects are only used on Windows Vista and above.
transitionSftTreeAlwaysNoFocus3Always, No Focus - transition effects are used on all Windows versions, but only when the control does not have the input focus.
transitionSftTreeAlways4Always - 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


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