Newbie: Form resizing

S

steve

Hi,

Is there a way in VB.NET to get scrollbars when the form passes the Screen
borders and/or the user's resolution is small?
I have set up Autoscroll = True, but this is probably for something else,
since by decreasing the size of the from I lose contents.

The same is true for other users with smaller screen resolutions than mine.

Borland used to have something similar which was quite useful.

Any help would be appeciated!

-Steve
 
C

Cor Ligthert

Steve,

Why do you not try things like this yourself.
Create a project
Set in the form properties autoscroll to true
Drag a label on your form
Set its size larger than your form size (extreem)
You see it than alreade however Debug

Cor
 
H

Herfried K. Wagner [MVP]

steve said:
Is there a way in VB.NET to get scrollbars when the form passes the Screen
borders and/or the user's resolution is small?
I have set up Autoscroll = True, but this is probably for something else,
since by decreasing the size of the from I lose contents.

Setting 'AutoScroll' to 'True' should have the desired effect. However,
scrollbars won't appear if you move the form outside the screen bounds. I
suggest to design your forms for a screen resolution of 800 × 600 px and
dock/anchor the controls.
 
S

steve

Thanx both,

Actually with Autoscroll=True, if I resize the form to smaller, I still
don't get the scrollbars!
Is there a way to do this without changing *my* resolution while developing?

I am surprised VS doesn't have a better way to do this.... I remember with
Borland 5, it was done better (according to my opinion).

-steve
 
S

steve

My apologies ....

My mistake was that the main form includes a set of "top" tabs. I get the
scrllbars only if i set the Autoscroll to each individual Tab as well.

Sorry for wasting your time, I'll try to be more careful next time.

Your efforts are greatly appreciated.
-steve
steve said:
Thanx both,

Actually with Autoscroll=True, if I resize the form to smaller, I still
don't get the scrollbars!
Is there a way to do this without changing *my* resolution while
developing?

I am surprised VS doesn't have a better way to do this.... I remember with
Borland 5, it was done better (according to my opinion).

-steve
 

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