comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: problem with widget_draw and draw_button_events under windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: problem with widget_draw and draw_button_events under windows [message #53713 is a reply to message #53414] Mon, 23 April 2007 23:57 Go to previous message
Justus Skorps is currently offline  Justus Skorps
Messages: 20
Registered: April 2007
Junior Member
ok, I think it finally works now..

I kept in mind that one click on a draw gives me to events, and I
thought that an if-condition would be enough to deal with that...but
the problem seems to be, that I disabled the draw_button_event-
property of the draw in the same part of code where I was evaluating
the x and y values I got from the event, but the next event in line to
be executed by the event handler was now an event from a disabled
source...and I think that led to my problem...now I wrote the
disabling of the draw_button_event in an extra if-condition reacting
on the release of the click...

thanx again for your help!

and btw: your book is really very helpfull...just bought the online
version, since I had to bring my borrowed library exemplar back...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fixes For IDL/ENVI Seg Faults Due To Linux X11 & Mesa Library Upgrades
Next Topic: Challenging question - array curve fitting

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:27:23 PDT 2025

Total time taken to generate the page: 1.12197 seconds