IsPreview
PowerScript function
Description
Reports whether a RichTextEdit control is in preview mode.
Applies to
RichTextEdit controls
Syntax
|
1 |
rtename.IsPreview ( ) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control for which you want to |
Return value
Boolean.
Returns true if rtename is in preview mode and false if it is in
data entry mode.
Examples
This example switches the RichTextEdit control rte_1 to preview mode
if it is not already in preview mode and then prints it:
|
1 2 3 4 |
IF NOT rte_1.IsPreview() THEN rte_1.Preview(TRUE) rte_1.Print(1, "1-4", FALSE, TRUE) END IF |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest