Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Method limits
Message
De
24/04/2001 14:06:43
 
 
À
23/04/2001 16:42:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00498739
Message ID:
00499165
Vues:
20
>Are you sure it's the same for forms? Procedures are generally kept in prg files.

Methods and Events are stored in teh SCX in the "Methods" memo field as VFP syntax. I don't think the 2gb limit applies to memo fields (correct me if I'm wrong), so thats not the limitation. The PRG code in "Methods" is compiled as an FXP and put into the "ObjCode" memo field, so I any limitations to the PRG compiler applies to form methods.

This is a cool demo:

modify form testcomp.scx nowait
aselobj(aA, 1)
aA[1].WriteMethod('Init', 'WAIT WINDOW "Hiya Craig!"')
activate window 'Form'
keyboard '{CTRL+W}' plain
doevents
compile form testcomp.scx
use testcomp.scx
go 3
strtofile(testcomp.objcode, 'testcomp.fxp')
do init in testcomp.fxp
use
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform