Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal to modeless at runtime
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00577053
Message ID:
00577084
Views:
20
This message has been marked as the solution to the initial question of the thread.
>>Is there away to change a modal form to a modeless from at run time from a .prg?
>
>Hi Cicilia,
>
>You can't change the setting once the form is displayed, which means that the init method is a perfect place to set the windowtype property.
>
>You can pass it as a parameter to the form (i.e. do form yada with blah), and in the init method something like
lParameters tiModality
>This.WindowType = tiModality
>dodefault()
Good luck!
>Alex

Yes, you can.

See FAQ#7921 "How can I make my form Modal/Modeless on the fly". I also published this tip in December 2000 FPA.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform