Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form works fine as a form, but not as a class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00018477
Message ID:
00018803
Views:
33
> > Hi guys, > I made a form, it works fine when I use it with > DO FORM my_form WITH parameter1,parameter2,etc... > then I tried to create a class based in my_form with > Save as class... > and when I try to run the form with: > oMy_form=CREATEOBJECT('my_form',parameter1,parameter2..) > I receive an error: > Error object "object_name" not found, but the object > exist, if I delete the object from the form then it > tells me the same error but with the next object in the form , that is, > Error "object_name2" not found. > That happens in the "GetGridRef" method of the wizard txtbtns class that > comes with 3.0, if this a 'BUG' or what?. Any sugestion would be > apreciated. > =THIS.Thanks('in advance') What version of VFP and wizards do you have? On ftp.microsoft.com you can find updated versions of wizard. There were a lot of bugs in origin version. I think it's vfp30wiz.exe or so, and also setupwiz.exe. Do you have VFP 3.0 or 3.0b? A lot of things solved in 3.0b. hth Dezider --
There were three worst disasters in the history of human
race in 20-th century:
1, Hiroshima 44
2, Tchernobyl 86
3, Windows 95
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform