Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Must click OK twice to close form
Message
De
14/08/2007 12:50:30
 
 
À
13/08/2007 14:32:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01247525
Message ID:
01248085
Vues:
27
Got it. Thanks for all the ideas.

>>I have a small message form that has an [ok] button on it.
>>
>>callingform.showwindow = (as top level)
>>missing_data_folder.showwindow = (in top level)
>>
>>I call it from callingform with
>>do form missing_data_folder with "iePoint>2006"
>>
>>Everything works fine except the I have to hit the [ok] button twice to return the callingform.
>>
>>I have tried thisform.hide and thisform.release in the click method of the [ok] button. Neither works without two clicks.
>
>Sounds like your new form with the OK on it is not getting the focus or something from your original form is stealing the focus back to itself. You might want to look for a SETFOCUS or maybe just make your OK form modal.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform