Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Large Application Doform() vs AbstractFactory
Message
De
25/06/2002 16:29:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00623680
Message ID:
00672179
Vues:
10
Kevin,

>I've modified your code slightly, although it's functionally equivalent:

I needed to make one more change myself, so including your change we have:
PROCEDURE AddLib

   LPARAMETERS tcLib, tcFile

   LOCAL ARRAY laLibArray[1]

      IF NOT UPPER(tclib) + '.VCX' $ SET('CLASSLIB')
         IF PCOUNT() = 1
            SET CLASSLIB TO (tcLib) ADDITIVE
         ELSE
            ALINES(laLibArray, tcLib, .T.,',')
            FOR EACH tcLib IN laLibArray
               IF NOT UPPER(tclib) + '.VCX' $ SET('CLASSLIB')
                  SET CLASSLIB TO (tcLib) IN (tcFile) ADDITIVE
               ENDIF
            ENDFOR
         ENDIF
      ENDIF
ENDPROC
So far it is working against all my forms.

Thanks,

Gary Pike.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform