Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters
Message
From
10/03/2002 13:22:46
 
 
To
10/03/2002 12:34:15
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00630710
Message ID:
00630745
Views:
19
Without resorting to using an array you can use the following:
LPARAMETERS tcclass, tclib,p1,p2,p3,p4,p5,p6,p7,p8,p9
lccmd = 'newobj(['+tcclass+'],['+tclib+']'
FOR i = 3 TO pcount()
	lccmd = lccmd + ',p'+TRANSFORM(i-2)
ENDFOR
lccmd = lccmd + ')'
THIS.poform = EVALUATE(lccmd)
Glenn
Previous
Reply
Map
View

Click here to load this message in the networking platform