Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C0000005 for Form.Show, but not if Assert fires
Message
From
30/05/2004 11:57:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00908518
Message ID:
00908563
Views:
13
>>P.S. This is the fourth modal form popping up in a chain of drill-down forms.
>
>More testing and more info:
>
>I tried various other windows and found Messagebox() does not cause the error (maybe because it's really a Windows API call or something outside VFP rendering responsibility), but other renderings, like WAIT WINDOW or DO FORM SomeForm will cause the same error.
>
>So, it's not necessarily the .Show of that particular form, but rather the rendering of ANY form at this point.
>
>Example:
>
>MESSAGEBOX( loNewObj.Name)   && this works
>WAIT WINDOW loNewObj.Name    && this does not
>DO FORM testform             && this fails too
>loNewObj.Show                && the original failing code
>
Maybe you're just pushing the Fox to its limits - showing fourth modal form in a chain. How about just reworking the whole thing into a single wizard-type form, using a tabless pageframe? Your chain of modal forms becomes a chain of pages, with far less of frame-level overhead.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform