Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method limits
Message
From
24/04/2001 14:06:43
 
 
To
23/04/2001 16:42:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00498739
Message ID:
00499165
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform