Sivakatirswami wrote:
>
> OK I am trying to allow the user to increase the size of text in a field in
> an ebook, using the htmlText property to preserve styles and size of text
> that has had specific attributes applied.
Would it be easier to just let the menu item resize the text of the
entire field, and then add the sizing for the header lines back in
afterward? For example, if the user chooses 12 point from the menu:
set the textsize of fld x to 12
set the textsize of line 1 to 2 of fld x to 14
set the textstyle of line 1 to 2 of fld x to "bold"
You could even get a little fancier and size the header text relative to
the field text:
set the textsize of fld x to 12
set the textsize of line 1 to 2 of fld x to min(the textsize of fld x *
2, 24)
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | 612-724-1596
Custom hypermedia solutions | http://www.hyperactivesw.com
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.