Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning value from Class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00158041
Message ID:
00158990
Views:
25
Ed,

I just created a form, set it as toplevel, added a button that did a DO FORM to a modal form. Then set the form.BackColor=255. The modal form was set to ShowWindow InTopLevel form. Had a main .prg that set _screen.Visible = .f., DO FORM toplevel, READ EVENTS. Built the exe and ran it. The modal form fires up and the parent form backcolor doesn't change color until the modal form closes. So I'd say it's behaving modally.

>It's not really a problem, just a design consideration. You'll notice that if you set the form as a top level and are using SCREEN=OFF in your config.fpw (or _Screen.visible = .f.), then although you may set a form as "Modal", code does not suspend at the point you launch the form (as it does when the form is "In Screen"). But if your only using a single form and not launching any others, you won't have a problem.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform