PDA

Click to See Complete Forum and Search --> : how can I let the user change the textbox.width


fkauffman
Nov 6th, 2000, 06:50 AM
Hoi,

On run-time I would like to have a textbox that can be modified by the user.
Dragging the object to another place is possible, but how do I change the width and height?

Fedor

If swimming makes you slim, then what the hell is wrong with the whales?

Dim
Nov 6th, 2000, 04:07 PM
I'm not sure of the code that will allow you to drag the textbox to desired height/width...but what you could do is...have two text boxes and in their Text1/Text2_Change Events place this code:

'Under Text1_Change
Text3.Width = Text1.Text
'Under Text2_Change
Text3.Height = Text2.Text


You might want to restrict the textboxes to numeric characters only.

Gl,
D!m