>If I run the following code twice I get an error message [A member object with this name already exists]. What do I do if I want to create more than one textbox on my form?
>
>Thank you for your time
>
>
>THISFORM.AddObject('mytextbox','textbox')
>THISFORM.mytextbox.Top = 10
>THISFORM.mytextbox.Left = 10
>THISFORM.mytextbox.Visible =.T.
You should create them with different names:
THISFORM.AddObject('mytextbox1','textbox')
THISFORM.AddObject('mytextbox2','textbox')
Edward Pikman
Independent Consultant