|
-
Oct 18th, 2000, 09:55 PM
#1
I have a textbox who's height I want to stretch when the window is resized. This code works fine:
Code:
Private Sub Form_Resize()
Text1.Height = StatusBar1.Top - Text1.Top
End Sub
if the user resizes manually, but it stays the same size if the maximize button is pressed. Is there anyway to fix this?
-
Oct 18th, 2000, 10:00 PM
#2
Fanatic Member
Throw the code into the Paint event of the form and it works fine.
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Oct 18th, 2000, 10:01 PM
#3
-
Oct 18th, 2000, 10:05 PM
#4
Fanatic Member
Let me know if you need anything else.
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|