Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with a class but not on a form
Message
De
26/10/2001 18:47:43
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
 
 
À
26/10/2001 18:44:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00574051
Message ID:
00574069
Vues:
31
The browser object is in a separate class, in the same library as the form class. I will try putting in a different class library and let you know ...

>>Nothing like that (lol)
>>
>>The error is "Object name is invalid". In the form version, there is no problem and the TYPE and VARTYPE of the removed object is undefined. In the class based version, it remains object type and vartype. FYI I created the form and tested it then created the class from the form. So there was no change. Incidentally, I first tried to create the whole shebang as a class. This had the same problem hence creating a form to see if I could isolate the problem.
>>
>>What I am doing is creating a simple web browser for testing my web apps. I want to completely refresh the browser so everything is initialized (cookies, sessions, session variables etc...) and I am tired of closing the browser and clicking the shortcut each time. Lazy and it's a fun exercise (or was until ...)
>
>You'd have to save your browser object as a separate class, more like a wrapper around the browser, and addobject() or newobject() it when you need it, and kill it when you feel like it. Besides, once you get it to work as you like, it could be usable elsewhere, right?
Charles Richard
NVO Management Systems
crichard@nvo.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform