How To Ensure Only Plain Text Editing Is Allowed In Field

Richard Gaskin ambassador at fourthworld.com
Sat May 13 12:10:55 EDT 2006


Bill Marriott wrote:
> You have to use exitField because someone could enter the field, bold some 
> text, and Rev would not consider it "changed." But you're right, closeField, 
> not exitField is sent when the text is changed so both handlers are needed. 

If the application doesn't provide a UI for changing text styles, and if 
of course the Paste command ues clipboardData["text"], how can text 
styles change?

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list