It is currently Fri Oct 30, 2020 3:32 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Right-click event in StringGadget?
PostPosted: Tue May 12, 2020 5:49 pm 
Offline
Addict
Addict

Joined: Mon Aug 04, 2008 10:56 pm
Posts: 1135
Location: Seattle, USA
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?

_________________
MacBook Pro-r, OSX 10.14.6 , PB 5.70LTS


Top
 Profile  
Reply with quote  
 Post subject: Re: Right-click event in StringGadget?
PostPosted: Wed May 13, 2020 6:26 am 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 1771
Location: Germany
WilliamL wrote:
Is there any way to get a right-click event from the StringGadget?

Have you already taken a look into my examples in this thread?


Top
 Profile  
Reply with quote  
 Post subject: Re: Right-click event in StringGadget?
PostPosted: Wed May 13, 2020 5:21 pm 
Offline
Addict
Addict

Joined: Mon Aug 04, 2008 10:56 pm
Posts: 1135
Location: Seattle, USA
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!

_________________
MacBook Pro-r, OSX 10.14.6 , PB 5.70LTS


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye