>>Using NewObject:
>>
>>thisform.NewObject("txtNew", "mytextbox", "myclasslib", , "Courier New")
>
>Trey,
>
>I don't want to pick on you, but you can not just omit the parameter for some reason. You should use an empty string, otherwise you'll get an error. At least in VFP6.0 SP4 I got an error, as I recall.
>>
np.
The NewObject
method works just fine like this -
the NEWOBJECT()
function gives an error.
Who knows when MS will "fix" it so it they work the same, though :)
Insanity: Doing the same thing over and over and expecting different results.