Xbasic
RTFMEMO.STYLE Function
IN THIS PAGE
Description
The RTF Memo Editor supports up to 8 different styles.
Style Properties
- Element
- Details
- StyleN.First_Left_Indent
Type "N". Indent of first line of paragraph.
- StyleN.Left_Indent
Type "N". Left indent of paragraph.
- StyleN.Right_Indent
Type "N". Right indent of paragraph.
- StyleN.Name
Type "C". Name of style.
- StyleN.Tab.Align
Type "C". Alignment of tab.
- StyleN.Tab.Pos
Type "N". Position of tab.
Example
dim obj as P
obj = :Customer_Information:rtfmemofield.this
obj.rtf.insert_text("This is RTF text")
obj.rtf.style1.name = "My Style"
obj.rtf.style1.left_indent = 1
obj.rtf.style1.right_indent = 1
? obj.rtf.style.1
= First_Left_Indent = 0
Left_Indent = 1
Name = "My Style"
Right_Indent = 1
+Tab.Limitations
Desktop applications only.
See Also