Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is the problem?!?!
Message
 
 
To
21/02/2003 13:52:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00756309
Message ID:
00756355
Views:
10
Anton,

The problem is that you have no control that can recieve focus when you don't have the button visible it's not in the UI event loop. So VFP keeps cycling (infinitely) through ALL of the objects looking for something to set focus to. You can move the button off the visible form if you don't want it on the form, but VFP needs some control that can accept focus somewhere on the form.

>Then, comment 5th line of this code (oForm.Button.Visible=.T.) and run the code again. Does your VFP hung? Mine too... What is this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform