Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form class
Message
From
25/03/2003 15:16:12
 
 
To
25/03/2003 15:10:19
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00769902
Message ID:
00769906
Views:
16
Oscar,

Try:
thisform.show(1)
in the form class' init() (rather than this.visible = .t.)

>I created a form class with windowtype = 1 (modal).
>
>I´m issuing thisform.oForm = CreateObject(“MyFormClass”, Param1, Param2) in order to launch it.
>
>The init of the form class contains the code to make it visible: this.visible = .t.
>
>However, the statements after the CreateObject are executed immediately (not the usual modal form behavior).
>
>How can I obtain the behavior expected of not to execute any next line(s) until the modal form has been released?
>
>Thanks in advance
>
>Oscar Corte
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform