-
October 15th, 2022, 00:10 #1
onClickRelease event on formattedtextcontrol or genericcontrol
I have a formattedtextcontrol in a windowlist. It works fine, it shows the text formatted as I want.
The control is readonly.
Now I would need to intercept the click event (I think onClickRelease is fine). I tried a trivial script, with the sole purpose of writing something in the console, but it doesn't work. So I tried to put a genericcontrol over it and manage the onClickRelease on this one, but even so I can't intercept it.
There's a way?
-
October 15th, 2022, 00:17 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,566
If you want to capture the onClickRelease event, you must return true on the onClickDown event to let the application know you still want to capture the mouse click event. Otherwise, it falls through to the next UI object.
Regards,
JPG
-
October 15th, 2022, 13:09 #3
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks