General information
Category:
The Mere Mortals Framework
Title:
Got SDT 5.1 Working, heres how...
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only