Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is the problem?!?!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00756309
Message ID:
00756377
Vues:
15
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform