Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I add method code at design-time programatically?
Message
De
15/08/2000 18:19:40
 
 
À
15/08/2000 18:02:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00405230
Message ID:
00405267
Vues:
19
Sorry...Big miss on my part...
Make sure to include the OVERWRITE argument in the APPEND MEMO
This means that the "demeth.prg" (or whatever) file will need all code for the DE.
>** either way
>FOR ji = 1 TO lnFCnt
>  lcForm = ALLTRIM(laForms[ji,1])
>  WAIT WINDOW lcForm + CHR(13) + STR(ji) + " of" + STR(lnFCnt) NOWAIT
>  USE (lcForm)
>  LOCATE FOR baseclass= "dataenvironment"
>  IF FOUND()
>    ** this form has a DE
>    APPEND MEMO methods FROM demeth.prg <b>OVERWRITE</b>
>  ENDIF
>  USE
>  COMPILE FORM (lcForm)
>ENDFOR
>HTH
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform