2 Replies Latest reply on Jan 31, 2011 2:35 PM by fedster72

    RichEditableText editable property seems broken - bug?

    fedster72 Level 1

      judging from the source code for the RichEditableText component, it would seem that editable controls whether the cursor stays as the mouse pointer or turns into a caret. Citing from the source code:

       

      <p>If <code>true</code>, the mouse cursor will change to an i-beam

               *  when over the bounds of this control.

               *  If <code>false</code>, the mouse cursor will remain an arrow.</p>

       

      This does NOT seem to be the case in practice, i.e. the code below has a non-editable RET but the cursor still turns into a caret when hovering on top of it. Is this a bug?

       

      <?xml version="1.0" encoding="utf-8"?>

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

         xmlns:s="library://ns.adobe.com/flex/spark"

         xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">

       

      <s:RichEditableText id="TI2" editable="false"

           widthInChars="10"

           heightInLines="1"

           verticalAlign="middle"

           lineBreak="explicit"

           multiline="false"

           backgroundColor="red"

           fontSize="12"/>

       

      </s:Application>