How to change the cursor when over TLF text?

51 Views Asked by At

With any of the editable text fields such as RichEditableText, TextArea and any TextFlow containers the cursor is always the familiar text entry pipe character with serifs thing. Whatever.

I need to be able to change that to a hand cursor as it moves over an inline graphic image and then revert back to text entry cursor on mouse out.

I've been looking at the CursorManager class but have had no luck yet.

UPDATE:
I found a class FlowElementMouseEventManager that manages the cursor as it moves over a text flow container. It's not clear how to change the cursor to a hand cursor yet but the LinkElement will change to a hand cursor when the mouse is over it and the CTRL is held down.

1

There are 1 best solutions below

1
Jeffin On

Set buttonmode = true for that inline graphic image and you are good to go