I don't understand your explanation , but in order to avoid the possible
problems of the Treeview events I remake my Window:
I delete all events from the Treeview, and replaced the desired actions with
another Comboboxes in the same window (the most stupid easy solution) , but
the same error still ocurrs when I roll the wheel of the mouse when I am
downloading web information.
The  routine of LWP for downloading information includes a DoEvents() inside
a subroutine such it was explained for Flame in one mailing list.
It could be a bug of the Treeview but I don't know what kind of problem
could be.
I will include like a bug of my program   ;>(

Thanks again,
Guillem



-----Mensaje original-----
De: Johan Lindstrom <[EMAIL PROTECTED]>
Para: Perl-Win32-GUI-Users@lists.sourceforge.net
<Perl-Win32-GUI-Users@lists.sourceforge.net>
Fecha: divendres, 17 / maig / 2002 13:04
Asunto: RE: [perl-win32-gui-users] Strange end of my program when I roll the
wheel of my mouse while downloading information from the web


>At 11:57 2002-05-17 +0200, Guillem Cunillera Wefers wrote:
>>I only use the NodeClick, and it seems to go wrigth, but:
>>- Some NodeClick events are send when I haven't done, for instance when I
>>roll the wheel
>
>Maybe this is related to the problems I had, I don't know. This is how I
>"solved" my problem:
>
>-----
>I wrote:
>>If I don't actually double click on the node, the problem disappears. If I
>>call the DblCLick() sub from e.g. a NodeClick() event or a button Click()
>>it works fine.
>
>And so it went away.
>
>The workaround--I'm big on workarounds, having a past as a web designer--is
>to not do important stuff in the DblClick() event. What I do now is this:
>
>In the DblClick() event I set a property, eventWrapper, to the code I want
>to execute. Nothing else. A timer triggers 50 times a second, looking at
>the eventWrapper property. If it's nonempty, the timer evals the string.
Voila!
>
>The timer doesn't seem to affect performance, and the delay between double
>click and action isn't noticable unless you know it's there.
>
>It's not industrial-strength tested yet, but it seems to work fine.
>-----
>
>
>/J
>
>-------- ------ ---- --- -- --  --  -    -     -      -         -
>Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]
>
>Latest bookmark: "HowStuffWorks - Learn how Everything Works!"
>http://www.howstuffworks.com/
>
>
>
>_______________________________________________________________
>
>Have big pipes? SourceForge.net is looking for download mirrors. We supply
>the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
>_______________________________________________
>Perl-Win32-GUI-Users mailing list
>Perl-Win32-GUI-Users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>
>



Reply via email to