By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,853 Members | 1,027 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,853 IT Pros & Developers. It's quick & easy.

form Resize event

P: n/a
Did a search & found nothing on this. VB6 did a resize on form load
according to what I've read. I Resized screen under vista & now the text
box doesn't resize to form's clientarea. Code exists under
form1.resize_click

Works when I resize the form and also when I include a call to resize under
form load event

Is this due to vs2005, vista or some other querk?

Thanks in advance. :)

May 17 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Smitty wrote:
Did a search & found nothing on this. VB6 did a resize on form load
according to what I've read. I Resized screen under vista & now the
text box doesn't resize to form's clientarea.
Code exists under form1.resize_click
I have no idea what "form1.resize_click" is or what it's supposed to do.
You haven't added your own "resize" button have you?
Works when I resize the form and also when I include a call to resize
under form load event
VB.Net separated "things that happen when the form size changes" and
"things that happen when the form needs redrawing" into two, separate
events.

Resizing the window is handled in Form_Resize.
Drawing, or "laying out", the form is handled in Form_Layout.

HTH,
Phil W.
May 17 '07 #2

P: n/a
On May 16, 11:31 pm, "Smitty" <iasm9222...@yahoo.comwrote:
Did a search & found nothing on this. VB6 did a resize on form load
according to what I've read. I Resized screen under vista & now the text
box doesn't resize to form's clientarea. Code exists under
form1.resize_click

Works when I resize the form and also when I include a call to resize under
form load event

Is this due to vs2005, vista or some other querk?

Thanks in advance. :)
Sorry if I missed something, but what exactly are you asking about? I
keep rereading your post but all I can see is incoherent ramblings?

Thanks,

Seth Rowe

May 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.