On 21/02/2007, at 4:53 am, Deborah Tinsley wrote:
Say you copied something from a web page that was in 14 pt.
Helvetica Red,
bold, you could design a custom menu function that would revert it
to the
field default - i.e. 10 pt, Verdana, Black, plain when pasting.
Deborah, a custom function isn't necessary here--and neither is a
script. Just set your auto-enter options to strip formatting from the
field (remembering to uncheck "Do not replace existing value of
field"), eg:
TextFormatRemove ( fieldName )
You can also keep certain attributes: in one of my solutions I strip
out all font, size and colour information but leave Bold/Italic as
these attributes are used on the client's web site:
TextFontRemove ( TextColourRemove (TextSizeRemove ( fieldName ) ) )
--
Tim Mansour <[EMAIL PROTECTED]>
Neologica Print & Promotions (ABN 63 904 335 408)
159 Commonwealth Street Surry Hills NSW 2010
Sydney 02 9212 1789 Melbourne 03 9012 7441 Mobile 0405 500 846