Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form not loading
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00414205
Message ID:
00414259
Views:
23
>>>>Something weird is happening when I am calling a form from another form. When called with DO FORM myFormName from a button's click event on the calling form it goes to the load event of the called form...everything cool so far, then the weirdness happens. Instead of going to init() it goes right to unload() event, closes and returns to the calling form bypassing everything. This called form does indeed load from other areas of my application, even when called from other forms, but when being called from this particular form it is not loading, just fires the load event (which has nothing in it) and then it goes to the unload event and skips init() activate() etc. and then closes. whatup? anybody have any ideas?
>>>>
>>>>Thanks.
>>>>
>>>>John.
>>>
>>>Just a guess, but it might be a form control whose .Init did execute properly causing the form to shut itself down and leave.
>>>
>>>Steve
>>
>>Another wild guess: could it be that Form's Load return .f.?
>
>There is nothing in the load event except for a 'set step on' for the purpose of trying to debug this puppy.
>
>Any more ideas please send my way!
>
>Thanks.
>
>john.

Is this form modal or non-modal? How do you invoke it? Could you please show a code snippet? I had similar strange problem before, when non-modal forms call non-modal forms and after do form there were some other lines of code...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform