SftTree/OCX 7.0

SftTree.ScrollbarStyle Property

Softel vdm, Inc.

Defines the appearance of the scroll bars.

Syntax       

Get

VB.NET

Style = object.ScrollbarStyle  As SftTreeScrollbarStyleConstants

VB

Style = object.ScrollbarStyle  As SftTreeScrollbarStyleConstants

C#.NET

SftTreeScrollbarStyleConstants Style = object.ScrollbarStyle;

VC++

enum SftTreeScrollbarStyleConstants Style = object->ScrollbarStyle;
enum SftTreeScrollbarStyleConstants Style = object->GetScrollbarStyle();

C

HRESULT object->get_ScrollbarStyle(enum SftTreeScrollbarStyleConstants* Style);

Delphi

Style := object.ScrollbarStyle  : TOleEnum;

Put

VB.NET

object.ScrollbarStyle = Style  As SftTreeScrollbarStyleConstants

VB

object.ScrollbarStyle = Style  As SftTreeScrollbarStyleConstants

C#.NET

SftTreeScrollbarStyleConstants object.ScrollbarStyle = Style;

VC++

enum SftTreeScrollbarStyleConstants object->ScrollbarStyle = Style;
void object->PutScrollbarStyle(enum SftTreeScrollbarStyleConstants Style);

C

HRESULT object->put_ScrollbarStyle(enum SftTreeScrollbarStyleConstants Style);

Delphi

object.ScrollbarStyle := Style  : TOleEnum;

object

A SftTree object.

Style

Defines the appearance of the scroll bars.

Style

Value

Description

scrollstyleSftTreeStandard

0

The scroll bar is a standard scroll bar (the default appearance used by the operating system).

scrollstyleSftTreeFlat

1

The scroll bar has a flat appearance.

scrollstyleSftTreeFlat3D

2

The scroll bar has a flat appearance.  The scroll bar portion where the mouse cursor is located will be displayed in a 3D fashion.

Comments

The ScrollbarStyle property defines the appearance of the scroll bars.

The presence of scroll bars is also dependent on the settings of the Scrollbars property.

This property has no effect if Windows themes are available (even if UseThemes is set to False).

See Also  SftTree Object | Object Hierarchy


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