Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Retnur
(9 posts) bio
|
| Date |
Thu 18 Nov 2010 07:54 PM (UTC) [ quote
] |
| Message |
| I'm having issues with getting the mouseup callback consistently. Very often it seems to cancel down instead. Under what conditions should the be happening? I'm not moving mouse out of hotspot, esc, and its not a mouse hardware issue. Furthermore, I'm using v4.61 under ubuntu 10.10. | top |
|
| Posted by |
Nick Gammon
Australia (18,772 posts) bio
Forum Administrator |
| Date |
Reply #1 on Thu 18 Nov 2010 08:34 PM (UTC) [ quote
] |
| Message |
Is it possible the hotspot is being recreated? I had a similar issue a while back, for example in the mapper. If you mouse-down, then while you are holding the mouse the window is redrawn for some reason, then it loses that hotspot, if you aren't careful anyway.
See:
http://www.gammon.com.au/scripts/doc.php?function=WindowCreate
If this is the case for you, you might want to set the flag:
miniwin.create_keep_hotspots = 16
That way, even if the window is recreated, the hotspots (and their memory of if you just pressed a mouse in them) is retained. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Retnur
(9 posts) bio
|
| Date |
Reply #2 on Fri 19 Nov 2010 04:04 AM (UTC) [ quote
] |
| Message |
| That was exactly the problem. (I'm working on a mapper as well.) | top |
|
| Posted by |
Retnur
(9 posts) bio
|
| Date |
Reply #3 on Fri 19 Nov 2010 04:48 AM (UTC) [ quote
] |
| Message |
| I should mention for future readers perhaps that I solved the problem with multiple layers for graphics using transparency. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
886 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )