Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal window issue
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Modal window issue
Miscellaneous
Thread ID:
01638210
Message ID:
01638210
Views:
76
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
Next
Reply
Map
View

Click here to load this message in the networking platform