Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal window issue
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Modal window issue
Divers
Thread ID:
01638210
Message ID:
01638210
Vues:
70
Hi,

I must be missing something simple. In the MAIN.PRG I have a Login form (based on Form class). This Login form has WindowType = Modal. I instantiate this form as follows:
LOCAL oLogInForm
oLogInForm = NEWOBJECT( "user_name_password_login","password.vcx")
oLogInForm.show()
Everything works from VFP IDE. But when I run this EXE and add a messagebox() after oLogInForm.show() it pops/shows before I even click on Ok or press Enter in the LoginForm. I thought that being a Modal this form should not allow the code to proceed passed .show() method.

What am I missing?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform