I've got a stringgadget that I would like to click on so I can 'toggle' the info in it. Like go from sVisa to SVisa. The only way I can think to accomplish that without interferring with the ability to type text is to get a right-click event from the stringgadget.
Is there any way to get a right-click event from the StringGadget?
Right-click event in StringGadget?
Right-click event in StringGadget?
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1
Re: Right-click event in StringGadget?
Have you already taken a look into my examples in this thread?WilliamL wrote:Is there any way to get a right-click event from the StringGadget?
Re: Right-click event in StringGadget?
Hey Shardik,
I guess I should have done a search for right-clicking a string gadget!
Your many examples work fine and viewtopic.php?f=13&t=66532#p494032 gives me the gadget being clicked on (which I need). The coding is impressive and makes my head hurt so I will have to study it for a while. Of course, the first thing I did, since I'm on a laptop, was to do a control+click to replicate a right-click and it didn't work. Since I also have a trackball with a right-click button I was able to have a right-click button which works fine. It will take some time to go thru the examples and see how I can get the gadget number with the least amount of code.
I'm pondering the headaches this (cntr+click=right-click) has given Fred.
Thanks for your hard work!
I guess I should have done a search for right-clicking a string gadget!
Your many examples work fine and viewtopic.php?f=13&t=66532#p494032 gives me the gadget being clicked on (which I need). The coding is impressive and makes my head hurt so I will have to study it for a while. Of course, the first thing I did, since I'm on a laptop, was to do a control+click to replicate a right-click and it didn't work. Since I also have a trackball with a right-click button I was able to have a right-click button which works fine. It will take some time to go thru the examples and see how I can get the gadget number with the least amount of code.
I'm pondering the headaches this (cntr+click=right-click) has given Fred.
Thanks for your hard work!
MacBook Pro-M1 (2021), Sonoma 14.3.1 (CLT 15.3), PB 6.10b7 M1