>I'm really sorry for my earlier wrong comments. It seems that you can't use With-Endwith the way you do. Try the following workaround instead:
>
> oLabel = "elbl"+Alltrim(Str(i))
> loForm.Newobject(oLabel, "Label")
> With eval("loform."+olabel)
Another option is my favorite trick (stolen from Fabio, he found it)
with getpem(loForm, oLabel)