Using a text box for this example:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim x As Integer
Dim y As Integer
x = Me.Size.Width
y = Me.Size.Height
TextBox1.Size = New Size(x, y)
End Sub
Hope this helps,
Seth
> Hello
> Does anybody know how to:
a> : Size my Form background image to any size I want it?
b> : Not tile my background image.
B> asically I have a form that is , say, 400 x 400 and I want to use any
i> mage as its background but not tiled.
> Tim