Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Got SDT 5.1 Working, heres how...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00140845
Message ID:
00141757
Vues:
31
BOb,

If you make the following change to the Framework's CStonefield class, it will accomplish something similar to what you had discovered:

CStoneField.Init()

Change...
This.Parent.AddObject('oMeta', 'MetaMgr', This.Parent.lDebugMode, ;
This.cMetaDataDir)

To...
This.Parent.oMeta = CREATEOBJ('MetaMgr', This.Parent.lDebugMode, ;
This.cMetaDataDir)

In addition, the new instructions in the Developer's Guide include information about adding an "oMeta" property to the application object.

I have also made the following change to CFormMgr.AutoArrangeForms() so you don't need to add the lAutoCenter property to the MetaMgr:

CFormMgr.AutoArrangeForms()

Changed…
IF TYPE("loForm") == "O" AND ;
UPPER(loForm.BaseClass) != 'TOOLBAR' AND ;
loForm.lAutoCenter = .T.

To…
IF TYPE("loForm") == "O" AND ;
UPPER(loForm.BaseClass) != 'TOOLBAR' AND ;
TYPE('loForm.lAutoCenter') == 'L' AND ;
loForm.lAutoCenter = .T.


Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform