CanRedo
PowerScript function
Description
Tests whether Redo can restore the edit that was previously undone
in a RichTextEdit control.
Applies to
RichTextEdit controls
Syntax
|
1 |
rtename.CanRedo ( ) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control for which you want to |
Return value
Boolean.
Returns true if the edit that was previously undone can be restored
using the Redo function and false if the edit that was previously undone
cannot be restored.
Examples
These statements check to see if the edit in rte_1 that was
previously undone can be restored; if yes the statements restore it, and
if no they display a message:
|
1 2 3 4 5 |
IF rte_1.CanRedo() THEN rte_1.Redo() ELSE MessageBox("Test", "Nothing to Redo") END IF |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest