View Single Post
  #3 (permalink)  
Old 10-09-2008, 05:02 PM
tiaan.wessels
 
Posts: n/a
Diggs:
Default Re: Set bold has no effect

After I posted this it struck me to go in look what the RichText widget does in
flex/frameworks/projects/framework/src/mx/controls/ RichTextEditor.mxml and it
turns out the trick is the following lines:

dispatchEvent(new Event("change"));
invalidateDisplayList();
validateDisplayList();
callLater(setFocus);

immediately after tinkering with the textformat.



Reply With Quote