Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excesive local area access when using timer
Message
From
12/03/2004 16:33:15
 
 
To
12/03/2004 15:08:44
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00885494
Message ID:
00885817
Views:
11
>There must be a better way to track the window than by using a timer. If someone moves, then closes the window within the 1 second period the changes won't be tracked, anyways. Is there not some way to hook into a Close event of the preview window?

BINDEVENT would be much better, but I don;t know how to get an object reference to the preview window. WROWS(), and the other routines find the window via its name, but don't provide an object reference.

>The only comment I can make about your Timer code is that in general you want to disable the timer while you're running the .Timer event, then re-enable it after:
This.Enabled = .F.
>
>* your code here
>
>This.Enabled = .T.
Thanks.

Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform