Skip to main content
September 25, 2009
Question

textflow right click cursor blink

  • September 25, 2009
  • 1 reply
  • 1105 views

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 has been closed for replies.

1 reply

Known Participant
October 14, 2009

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

October 23, 2009

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.

Known Participant
October 23, 2009

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