Skip to main content
Sep 25, 2009 11:01 AM UTC
Question

textflow right click cursor blink

Hi,

I am using textflow in my application. I need to add a functionality of getting focus(cursor blinking) on right click.

How can I do this?

Thanks in advance.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Known Participant
Oct 14, 2009 10:34 PM UTC

I believe you need to add a rightclick event handler to the textflow's container, stop the event from propigating, and then set the focus and position.   Tell us more about exactly what you are up against and we can help more, or since it's been awhile it seems since someone posted on this, maybe you have already solved this and can posts the insights you have learned?

Thanks!

~ JT

Translate
Oct 23, 2009 2:44 PM UTC

Hi JT,

As we tried to call the right click event but I am not able to get the position. What I am thinking is, if I am able to get the position then I will do setSelection(thatposition,thatposition) & textflow.interactionManager.blinking = true & textflow.updateAllContainers();

How to get the postion where I have right clicked. And I have inline graphic elements also. So it can also be possible that I am right clicking on ILG.

Please direct me if I am going wrong.

Thanks in advance.

Translate
Known Participant
Oct 23, 2009 6:56 PM UTC

On the right click event what is getting reported back from the TextFlow's SelectionManager's positions, something like selection start and end?

Translate