Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AutoArrangeForms and Class Browser
Message
 
À
07/07/1998 14:17:53
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00115002
Message ID:
00115139
Vues:
18
Rex,

>In the new ProjMgr demo, I found a bug. If you have the Class Browser open and run an application using a subclass of the cSideBar class the following message:
>
>Message: File 'PARENT' does not exist.
>Line: 41
>Code: IF TYPE("loForm") == "O" AND UPPER(loForm.BaseClass) != 'TOOLBAR' AND loForm.lAutoCenter = .T.

>As you can see, the Class Browser does not have a lAutoCenter property.
>
>I hate it when it does that

Me too <g>. Another astute MM developer found this also...I was getting ready to post a message regarding a workaround. Here it is:

You can make the following change to CFormMgr.AutoArrangeForms() to get around this problem:

Change...
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') == 'O' 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