Private Sub Form_Load()
Dim h As Integer
Dim w As Integer
h = 50
w = 1500
Text1.Height = h
Text2.Height = h
Text1.Width = w
Text2.Width = w
End Sub
its the same in VB6 also.QwertyManiac said:Doesn't the Text Box have a size attribute to it? Anyway, to get a fixed default, always double click on the text box icon on the tool bar while creating it, instead of single clicking and drawing one.
I don't know about VB 6 but in the higher versions (.NET) you can copy a text box and paste as many you like and their names will change normally like you make one by one.
prinz said:thanks... a lot... for all your replies...
suppose there are three text boxes on the form... if i want to change the size of all of them by dragging them together... i mean i want to make all the three text boxes have same size by dragging them together... how can i do that?!!!...
ayush_chh said:i hav never tried that but i don't think that's possible....