I do not know a tripleclicked event. But I think you can write some code to detect it.
A very simple test case:
// instance variable
integer ii_clickedcount
// clicked event
ii_clickcount++
if ii_clickcount = 3 then
messagebox ("", "clicked 3 times")
ii_clickcount = 0
end if
// doubleclicked event
ii_clickcount++
if ii_clickcount = 3 then
messagebox ("", "clicked 3 times")
ii_clickcount = 0
end if
You need to enhance this code:
- add some timer to reset ii_clickcount after a short time. You may also store the cpu() function value instead and check that next click is not after a specified number of milliseconds
- for datawindows you may also want to check that second and third click are on same dw object and row
Since there is no Triple Click in MS-Windows, I would personally implement this as either...
1) Pop-up menu in RMB with a "Select Sentence" option //OR
2) Use a control key sequence to select the sentence at the current cursor (ie: CTRL/SHIFT+S). //OR
3) Use a menu item click to select the sentence at the current cursor
Etc. HTH
Regards... Chris
Thanks for understanding the requirement and providing possible ways of implementation. However, our client is habitual with the triple clicks in other applications and they are too specific with the requirement to be fulfilled with triple clicks only.
Regards,