Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement