Hyperlink single click and ctrl + click

General TRichView support forum. Please post your questions here
Post Reply
cychia
Posts: 104
Joined: Mon Jan 16, 2006 1:52 am

Hyperlink single click and ctrl + click

Post by cychia »

in rve.EditorOptions there is a property rvoCtrlJumps. When it is true, press ctrl + left mouse click will trigger the OnJump event. when it is false, i will have to handle the onMouseUp in order to open the link clicked.

my problem now is, when rvoCtrlJumps is True, when press ctrl and mouse over the hyperlink, the cursor will be changed to handcursor, but when rvoCtrlJumps is false, I am expecting the cursor will change to handcursor whenever the mouse is moving into a hyperlink but it is not. What property i need to set in order to let the cursor change to handcursor when mouse over a link? Thanks
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

See the demo in Assorted\Hypertext\URLs\
(as for me, executing hyperlink or single click is terrible, because it leads to many accidental executions)
cychia
Posts: 104
Joined: Mon Jan 16, 2006 1:52 am

the demo does not work on non text item

Post by cychia »

I have tried the demo, just that the demo is only work on Text Item. How about other non text item like picture? because non text item can be attached with hyperlink also right, just like hot picture.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

In this demos, hypertext works for pictures, but hypertext cursors are not displayed.
In the next update, there will be a new event OnGetItemCursor where you can define cursors for items.
Post Reply