Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close a form programatically before/at the Init-E
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00115175
Message ID:
00115196
Views:
17
>Cetin,
>
>this doesn't work because the form will not be released and remains in memory.
>
>Andreas
>
>
>>>Hi,
>>>
>>>I want to close a form programatically before the user can interact with the form e.g. the form contains no data or an error loading the data environment handled by the error method.
>>>
>>>Unfortunately calling the THISFORM.Release method doesn't help.
>>>Calling this method in the activate or init event/method is ignored by the system.
>>>
>>>Thanks for any help.
>>>
>>>Andreas
>>Andreas,
>>In init "return .f." so form cannot init.
>>Cetin

Could you state the reason why you want to release the form while still initializing? I think there could be another approach in dealing with it other than activating the form then release it while initialiazing...
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform