Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dodefault() in the child form.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00482661
Message ID:
00482785
Views:
10
>Hi.
>I notice something yesterday as I was experimenting and I want to know if what happened is common.

>I have a parent form class that I use to create my forms. When I issued a DODEFAULT() in the REFRESH method of my forms, every object on the form gets refreshed multiple times. Thus, I must leave the REFRESH method clean and free of any code if I want my app to be clean. Am I guffy or am I right?

>Is this odd or what? :)

You may want to try a Windows lock via API instead:

DECLARE SHORT LockWindowUpdate IN WIN32API INTEGER hWnd
DECLARE INTEGER GetActiveWindow IN WIN32API
=LockWindowUpdate(GetActiveWindow())
* Do stuff
=LockWindowUpdate(0)

Found in the file section
Previous
Reply
Map
View

Click here to load this message in the networking platform