Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal Form is not acting modal
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Modal Form is not acting modal
Miscellaneous
Thread ID:
00452920
Message ID:
00452920
Views:
67
This is a problem that I should know how to fix, but I really would like to hear from the experts on the correct way.

I have a simple program that calls one main form. That form is top level.

Program goes...

setup stuff
more setup stuff
do form toplevel
read events
cleanup stuff

All works OK, but now I want to add a license agreement form that requires the user to check OK before continuing. So I made a nice top level modal license form with a check box and I put the code...

setup stuff
more setup stuff
If lnotregistered
do form license to memvar1
EndIf
If !empty(memvar1)
do form toplevel
EndIf
read events
cleanup stuff

I have been playing around with the location of the read events, but I get the license form to show and the other form to show after it. BTW, there is a lot of stuff in the init op my top level form that fires this way.

Should I stop the toplevel form from showing (hide it) if lnotregistered.
Should I make the license form always on top.

Any suggestions on how to handle this license agreement predicament are appreciated.

Thanks,

Ron.
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Next
Reply
Map
View

Click here to load this message in the networking platform