|
|
|
SftTree.MouseOverTransitionEffect Property |
Defines the transition effects used when the mouse enters/leaves the tree control.
Syntax
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;
|
||
C |
HRESULT object->get_MouseOverTransitionEffect(enum SftTreeMouseOverTransitionEffectConstants* Style); |
||
Delphi |
Style := object.MouseOverTransitionEffect : TOleEnum; |
||
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;
|
||
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 |
0 |
None - no transition effects are used. |
|
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. |
|
2 |
Vista+ - transition effects are only used on Windows Vista and above. |
|
3 |
Always, No Focus - transition effects are used on all Windows versions, but only when the control does not have the input focus. |
|
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