« Enable Smoothing on Images for scaling in Flex 2 | Main | Designing More Usable Applications with Flex UI Capabilities »
September 12, 2006
Rich Text Editor with Disclosable Controls in Flex 2
I recently worked on a project that called for the use of the Rich Text Editor control. In our case it was determined that some users would never had the need to format their text. In fact, I'd venture to say in most cases were a Rich Text Editor is called for in an RIA, there are a subset of users or use-cases where those controls are not required.
For that reason, there's a property called "showControlBar" which allows you to show or hide the control. However, there's no out-of-the-box affordance for setting this property at runtime. What follows is a simple example that adds a child to the Rich Text Editor that shows and hides the control bar.
It should be said, as always, the following example was created by myself, and I am a User Experience Consultant, not a developer. So, this should be seen as an example of good User-Experience pattern, but should not be seen as a best-practive recommendation for development. For starters, it would have probably been good to componentize it. But, is a simple example with just a few lines of code anway.
To download the source, click here.
Posted by Peter Baird at September 12, 2006 10:17 AM
Comments
Posted by: Gloria at September 19, 2006 7:58 PM
Posted by: haan at October 17, 2006 5:48 AM
Posted by: Hoobamac at January 5, 2007 1:49 PM
Posted by: Homer J at April 1, 2007 11:04 PM
Posted by: montana at September 19, 2007 11:56 AM
Posted by: Bill at May 12, 2008 12:10 PM
Posted by: tushar at August 30, 2008 1:42 PM
Posted by: Peter Baird at September 2, 2008 7:57 AM
Posted by: Sateesh at January 8, 2009 8:48 AM
Posted by: fox at January 25, 2009 2:01 AM