SetAlignment PowerScript function
Description
Sets the alignment of the selected paragraphs in a RichTextEdit
control.
Controls
RichTextEdit controls
Syntax
|
1 |
<span>rtename</span>.<span>SetAlignment</span> ( <span>align</span> ) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control |
|
align |
A value of the Alignment enumerated datatype
|
Return Values
Integer. Returns 1 if it succeeds and
-1 if an error occurs.
Examples
This example sets the alignment of the selected paragraphs
in the RichTextEdit control rte_1:
|
1 |
integer li_success |
|
1 |
li_success = rte_1.<span>SetAlignment</span>(Right!) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest