Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ValueDescription
rtftextThe RTF text within the edit box. The text returned is CRLF delimited.
existingrtftextThe existing RTF text, when Set_Property was run.

See Also

SetCharFormat message

Example

Code Block
Declare function Get_Property, Set_Property
 
rtftext = '{\rtf1\ansi\ansicpg1252\deff0\deflang1033'
rtftext:= '{\fonttbl{\f0\fswiss\fcharset0 Arial;}}'
rtftext:= '{\*\generator Msftedit 5.41.15.1507;}'
rtftext:= '\viewkind4\uc1\pard\f0\fs20 '
rtftext:= 'This is line of text with a \b bold\b0'
rtftext:= ' \i italicized\i0  \b\i word\b0\i0 .'
rtftext:= '\par}'
x = Set_Property(@window:'.EDITBOX','RTFTEXT',rtftext)