LeftText – PB Docs 150

LeftText property for PowerScript controls

Controls

CheckBox, RadioButton controls

Description

If the LeftText property is enabled, the text for a CheckBox
or RadioButton appears to the left of the button. If LeftText is
not enabled, the text appears to the right of the control. You can
also specify left or right alignment with the left and right StyleBar
buttons.

note.png Usage note

When the LeftText property is enabled and you align multiple
CheckBoxes or RadioButtons to the left, PowerBuilder may align the
text but not the boxes or buttons. This is because PowerBuilder
aligns the complete control.

Usage

In a painter

proc.png To place text to the left:

  1. Select the Left Text check box on the General
    page of the control’s Properties view.

In scripts

The LeftText property takes a boolean value. The following
line puts the text for a CheckBox to the left of the box:


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