Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDT 5.1...
Message
 
 
To
24/09/1998 17:39:22
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00140606
Message ID:
00140766
Views:
22
>Kevin,
>
>The directions and wrapper class for SDT do not work for version 5.1.
>
>I think the main issue is that the change from the class being based on a form is the problem.
>
>I get, "object can not be contained by that class" when I try to add the dbcxmgr class to goApp. I guess goApp can not have a form object as a child.
>
>Anyway... I have been trying to figure out the best way to do this, it looks like having the object not as a child would work the best...
>
>I am still having problems getting the think loading though... What I did was add a property oMeta to the application class, then in BeforeReadEvents try to do...
>
>this.oMeta = createobject('dbcxmgr')
>
>But, I get an error that the file PARENT can not be found. Very strange... not sure why it is doing that.
>
>BOb

oMeta does not have a parent if you are following the example in their documention -- oMeta = newobject('DBCXMgr', 'DBCXMGR.VCX')

If you are not using VFP 6, you also have to add the NewObject.PRG to your project. I think you would be better off not doing something like goApp.oMeta = newobject... This would work if goApp was based on formset, but I don't think you really want to do that.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform