Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form object not exist but Screen Active Form does
Message
 
 
To
13/12/1999 11:18:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00302767
Message ID:
00303506
Views:
44
Harry,

We had the same problem with our Search object. My colegue advised to give the form the same name as in the scx file (i.e. btcrit.scx form.name - btcrit). Since then we haven't this problem. I understand, that it's not a correct solution, just want to let you know, how we solved it.

HTH,
Nadya


>I have a global application object from which I call a method from whatever form is currently active. In one particular instance the the code falls over and tells me the relevant form does not exist. Yet the debugger shows '_screen.activeform.name' is indeed the form I'm trying to call and if I change the code (which I've done anyway) to call '_screen.activeform.mymethod' it works a treat.
>
>How this possible?
>
>Harry
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform