Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Got SDT 5.1 Working, heres how...
Message
 
À
04/11/1998 15:18:56
Rick Hawkins
Rose Valley Software Studio
Wallingford, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00140845
Message ID:
00155093
Vues:
23
Rick,

>Are similar changes necessary to the cFormMgr.GetFormCount() to prevent counting the SDT Form when getting a count of all open forms. Without the following code, I seem to always have one form open (the DBCXMGR form):>


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

Good to hear from you...I hope all is going well with you and yours!

The change you propose would definitely filter out the non-MM forms. In what context is the erroneous count from the additional SDT form causing you difficulty?

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