Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms not loading into memory
Message
From
12/01/2000 13:33:56
 
 
To
12/01/2000 13:01:53
Ken Yates
Virgo Publishing, Inc.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00317103
Message ID:
00317134
Views:
18
>I am calling one form from another form (do form "sample.scx"). The form comes on screen but is not loaded into memory, since that form calls another form that then goes back to that form "sample.scx" I get the error that the object (form "sample.scx") does not exist.
>
>I traced it in the debugger, when the first form loads, I see it as an object in the debugger, when it calls the second form "sample.scx" the second form shows up on the screen but is not listed as an object in memory, therefore.. it doesn't exist. Can anyone help with this situation?

The name of your object is not "sample.scx".

If you're starting your first form from the command window, you will see a variable reference to the first form's object, matching your form name. If you start your first form from a .PRG, you will not see either of your form's objects with the debugger. If you look in the debugger using _SCREEN.ActiveForm, you will be able to see both forms, depending on which one is the currently selected form.

What is it you are trying to do?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform