Rich Text Edit
A rich text edit control is generally more sophisticated than a rich text DataWindow.
· Capable of insert, edit and delete of input fields dynamically
· Can save as RTF file
· Multiple undo processing
How do I create?
- Drop control and set properties
- Provide methods to insert the text. Inserting text can be done manually or programmatically.
- Prove methods to place input fields. The InputFieldInsert function is used. Column name must match DataWindow column name.
- Provide methods to merge the data with DataStore.
How do I load the rich text edit control programmatically?
1) Use the InsertDocument( ) function. A true will replace existing document, false will append.
Rte_1.InsertDocument(“mydoc.rtf”, true)
2) Use the SelectText( ) function to position text?
Rte_1.SelectText(3,1,0,0)
Rte_1.InputFieldInsert(“company_name”)
No comments yet.
Leave a comment
| Next »
-
Archives
- August 2009 (2)
- May 2009 (1)
- March 2009 (1)
- January 2009 (2)
- December 2008 (1)
- November 2008 (2)
- September 2008 (1)
- August 2008 (1)
- July 2008 (24)
- June 2008 (22)
- May 2008 (69)
- April 2008 (25)
-
Categories
-
RSS
Entries RSS
Comments RSS