Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form disappearing under another form
Message
From
28/10/1998 09:07:44
 
 
To
28/10/1998 09:02:19
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00150735
Message ID:
00151499
Views:
25
>>PUBLIC poForm
>>* DO FORM... Commented
>>poForm = CREATEOBJECT(yourForm, < maybe some parameters, if you have them > )
>>poForm.Show(1)  %% Modal or
>>poForm.Show(2)  %% Modeless
>>
>>RELEASE poForm
>
>Daniel, if you link form object to some variable and then release this variable then you effectively kill the form, i.e. above example will not work for modeless form. Actually, any newly created form obvject should be linked to some property of higher-level object and this hogher-level object will provide on-request reference to any form in application.

Yes, I realize that, Edward. Actually, what I ment in the above example was that "RELEASE poForm" should be in "Quit" button of the form, otherwise the modeless form, naturally, dissapears right away.

Still with me on this one?
Danijel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform