Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add objects at runtime not working (AGAIN)
Message
 
 
À
20/11/2008 08:29:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Vista
Divers
Thread ID:
01363081
Message ID:
01363116
Vues:
18
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform