Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is the problem?!?!
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00756309
Message ID:
00756377
Views:
9
David,

However it works for 2 containers. Try FOR i=1 TO 2 instead of FOR i=1 TO 5.
Why it works for one or two containers and does not work for more than two?

>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform