User Tools

Site Tools


canredortf_code_template.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > Rich Text Template Support - Overview >====== CanRedoRTF code template ====== Previous pageReturn to chapter overviewNext page

NoteBox.jpg

This template (and its associated code templates) has been deprecated, and is now replaced by the RTF Text Control template.

The CanRedoRTF code template checks the RTF control to see if there is data in the redo buffer. A TRUE value is returned if a redo can be done. A FALSE value is returned if there is no redo data in the buffer. This template calls the Redo method.

Prototype:

CanRedo

Return Data Type: BYTE

Example method calls:

loc:undo = oRTF_RTFTextBox.CanRedo() !Check for data in the Redo buffer

Template Prompts:

Associated RTF control

Select the RTF control from the drop-down list. All controls on the Window are included in the list. This field in required.

Variable to receive Redo Status

Press the ellipsis button (') to choose a variable to receive the return value from the method.

canredortf_code_template.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1