Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Got SDT 5.1 Working, heres how...
Message
From
25/09/1998 11:53:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Got SDT 5.1 Working, heres how...
Miscellaneous
Thread ID:
00140845
Message ID:
00140845
Views:
45
Ok,

After fooling for 1.5 days I finally got 5.1 plugged into my MM ap...

Here is what I did...

1. Create metadata as documented by SDT

2. Add DBCXMGR.VCX and SDT.VCX to my project

3. Subclass DBCXMGR as ToolKit into library StoneField. (I figure I will subclass sfquery into this library too.)

4. Add the propert lAutoCenter to ToolKit class with a value of .f.

5. Open my application class in the class browser.

6. Add the property oMeta to application class

7. Add property cMetaDataPath to application class (set it to 'data')

8. In application class beforereadevents put the following code...

* add StoneField Data Tools to goApp.oMeta
this.oMeta = createobject('toolkit', this.lDebugMode, this.cMetaDataPath)

9. In the application clean-up put...

dodefault()
this.oMeta = .null.

***********************************

Well, that's how I did it. Not sure if it is the best r most OOpish, but it seems to work so far.

BOb

PS: Of course this only works with the modification to the path in setpath... see my previous method. Other than that you have to put the two VCX's in common30\libs
Next
Reply
Map
View

Click here to load this message in the networking platform