Hi Ghiara,
On a fat client window, the only option I can think of is to use a background text object.
Your users would have to enter their text in a ‘markup’ form, with tags that you interpret.
This would give you the ability to:
– bold
– underline
– include fields
It would not permit ‘tabs’, which really are a Word Processing function and would require oWrite.
In order to to turn bold on, include ascii(27) character, then ‘00000001#’) in $text.
In order to to turn underline on, include ascii(27) character, then ‘00000004#’ in $text.
In order to to turn either off (return to standard text), include ascii(27) character, then ‘00000000#’ in $text.
In order to include a field, get users to wrap it in square brackets.
Try setting the $text property of a background text object to the below. Sorry that asc27) doesn’t show in the code I’ve pasted here:
00000001#This is a bold line00000000#
This is an 00000004#underlined00000000# word
This is a #S1 – [#S1] – field