General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only