SftTree/OCX 7.0

SftTree.RightToLeft Property

Softel vdm, Inc.

Defines the display direction and visual appearance on a bi-directional system.

Syntax       

Get

VB.NET

Boolean = object.RightToLeft  As Boolean
Boolean = object.CtlRightToLeft  As Boolean

VB

Boolean = object.RightToLeft  As Boolean

C#.NET

bool Boolean = object.RightToLeft;
bool Boolean = object.CtlRightToLeft;

VC++

VARIANT_BOOL Boolean = object->RightToLeft;
VARIANT_BOOL Boolean = object->GetRightToLeft();

C

HRESULT object->get_RightToLeft(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.RightToLeft   : WordBool;

Put

VB.NET

object.RightToLeft = Boolean  As Boolean
object.CtlRightToLeft = Boolean  As Boolean

VB

object.RightToLeft = Boolean  As Boolean

C#.NET

bool object.RightToLeft = Boolean;
bool object.CtlRightToLeft = Boolean;

VC++

VARIANT_BOOL object->RightToLeft = Boolean;
void object->PutRightToLeft(VARIANT_BOOL Boolean);

C

HRESULT object->put_RightToLeft(VARIANT_BOOL Boolean);

Delphi

object.RightToLeft := Boolean   : WordBool;

object

A SftTree object.

Boolean

Defines the display direction and visual appearance on a bi-directional system.

Boolean

Description

True

The control is used on a bi-directional platform (such as Arabic or Hebrew Windows) and the display direction is right-to-left.

False

The display direction is left-to-right.

Comments

The RightToLeft property defines the display direction and visual appearance on a bi-directional system.

If the RightToLeft property is set to True and the control is running on a bi-directional platform (such as Arabic Windows or Hebrew Windows), the tree control will support right-to-left reading with the tree hierarchy displayed on the right hand side of the control and the vertical scroll bar displayed on the left side.

The RightToLeft property automatically resets to False if the current system does not support right-to-left representation (i.e., the current platform is not an Arabic or Hebrew Windows version).

Applications that need to support both Left-To-Right and Right-To-Left environments have to update all orientation-specific properties at run-time.

This property is read/only at run-time.  

See Also  SftTree Object | Object Hierarchy


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