PDA

Click to See Complete Forum and Search --> : The NEW function???


rino_2
Dec 10th, 1999, 04:02 PM
Hi,

I remember that once I created a button on my form that when you pressed it, it compleatly coped the form and created a new on with the old form still open. I remeber I used the NEW function but I can't remeber anything else.

Can you pease help me???

Thanks

Dec 10th, 1999, 06:04 PM
Try this

Dim Newform As New Form1(or any other form)
Newform.Show

You can set any property of the form with the newform variable ie

Newform.caption = "vcbavbksa"

this would change the caption.
Hope this helped

rino_2
Dec 10th, 1999, 09:10 PM
Thanks a lot for your help!