Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add objects at runtime not working (AGAIN)
Message
 
 
To
20/11/2008 08:29:39
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Vista
Miscellaneous
Thread ID:
01363081
Message ID:
01363116
Views:
19
This message has been marked as the solution to the initial question of the thread.
	thisform.AddObject(x1,"line")
	loLine = GETPEM(thisform,x1)
	WITH loLine
          .width=10
          ..
	ENDWITH 
	loLine = NULL
>this works:
>
	x1="oLine"+TRANSFORM(m.i)
>	*thisform.aScale[m.I].AddObject("Line")  &&&	= CREATEOBJECT("Line")
>	thisform.AddObject(x1,"line")
>	thisform.&x1..width=10
>
>
>can that be done without macro substitution?
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform