form Resize event

S

Smitty

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. :)
 
P

Phill W.

Smitty said:
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.
 
R

rowe_newsgroups

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top