Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

LayoutRTL – PB Docs 2021 – PowerBuilder Library

LayoutRTL – PB Docs 2021

LayoutRTL

property for PowerScript controls

Applies to

ListView and TreeView controls

Description

The LayoutRTL property specifies that the layout of the control
should be a mirror image of the standard layout. Scroll bars display at
the left of the control. In a ListView, icons are right justified. In a
TreeView, the root-level icon is right justified and its label displays to
the left of the icon. Lower levels are indented from the right. Unlike the
RightToLeft property, which affects the display of characters, the
LayoutRTL property does not require an operating system that supports
right-to-left display. Values are:

  • TRUE — Elements in the control are right justified.

  • FALSE — Elements in the control are left justified
    (default).

For best results, set this property in the painter so that you can
see its effect. Setting this property at runtime can have unexpected
results.

Usage

In a painter

To set the LayoutRTL property:

  • Select the RTL Layout check box on the Other page in the
    control’s Properties view.

In scripts

The LayoutRTL property takes a boolean value.

The following line sets the LayoutRTL property of a ListView control
to true:

The following lines determine the value of the LayoutRTL property
for a TreeView control:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x