|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Form SizeI created a form using 1024*768 res. Is there a way in vb.net to tell the
frm to 'adjust' it's size for say 800*600, or is it supposed to do this automatically? I run the form on a couple of 800*600 res screens and part of the form is hidden. I remember a resize.ocx for vb6 forms, but I was hoping vb.net would have a built in way of doing it. Thanks BUC Hi,
Why not simply set the Form WindowState property to "Maximized" ? It would then cover the full screen whatever your screen resolution is. Regards, Cerebrus. Maximized doesn't stop my controls from running off the side of the screen
in 800*600 mode Buc Show quoteHide quote <Buc> wrote in message news:%233VAK$5RGHA.1948@TK2MSFTNGP09.phx.gbl... >I created a form using 1024*768 res. Is there a way in vb.net to tell the >frm to 'adjust' it's size for say 800*600, or is it supposed to do this >automatically? I run the form on a couple of 800*600 res screens and part >of the form is hidden. > I remember a resize.ocx for vb6 forms, but I was hoping vb.net would have > a built in way of doing it. > Thanks > BUC > >
Show quote
Hide quote
<Buc> schrieb im Newsbeitrag news:OmNTjG6RGHA.1608@TK2MSFTNGP09.phx.gbl... Have a look at the Anchor and Dock properties.> Maximized doesn't stop my controls from running off the side of the screen > in 800*600 mode > Buc > > <Buc> wrote in message news:%233VAK$5RGHA.1948@TK2MSFTNGP09.phx.gbl... >>I created a form using 1024*768 res. Is there a way in vb.net to tell the >>frm to 'adjust' it's size for say 800*600, or is it supposed to do this >>automatically? I run the form on a couple of 800*600 res screens and part >>of the form is hidden. >> I remember a resize.ocx for vb6 forms, but I was hoping vb.net would have >> a built in way of doing it. >> Thanks >> BUC Armin <Buc> wrote in message news:%233VAK$5RGHA.1948@TK2MSFTNGP09.phx.gbl... Always design for the smallest monitor resolution you intend to support.>I created a form using 1024*768 res. Is there a way in vb.net to tell the >frm to 'adjust' it's size for say 800*600, or is it supposed to do this >automatically? Use the Anchor and Dock properties on each control to take advantage of "larger" screens. If you're going down the inherited Form route, I've found overriding the OnLayout methods more reliable for resizing and repositioning controls. HTH, Phill W.
length of string
Adding Button Programatically - have an answer??? XML to ODBC DataView Multiple Change Sub Main is not waiting!!!?? Visual Studio 2003 Menu on form.vb Adding data to database including resource files Sending web email XmlDocument object to string - plase help with unusual character! |
|||||||||||||||||||||||