|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Form LayoutIs it possible to set controls to dock/anchor to nearby controls rather
than to the edges of the form? Trying to have the form controls auto-adjust if a particular controls resizes. -- ______ ___ __ /_ __/_ __/ _ )_______ ___ _/ /_____ ____ / / / // / _ / __/ -_) _ `/ '_/ -_) __/ /_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/ /___/ There are 10 types of people in this world; those who understand the binary numbering system and those who don't. There's no place like 127.0.0.1. ASCII a silly question, get a silly ANSI. TyBreaker,
Did you already had a look at the Anchor properties? Cor Show quoteHide quote "TyBreaker" <tybreakerNO@SPAMhotmail.com> schreef in bericht news:%23rc1YpZvGHA.356@TK2MSFTNGP04.phx.gbl... > Is it possible to set controls to dock/anchor to nearby controls rather > than to the edges of the form? Trying to have the form controls > auto-adjust if a particular controls resizes. > -- > ______ ___ __ > /_ __/_ __/ _ )_______ ___ _/ /_____ ____ > / / / // / _ / __/ -_) _ `/ '_/ -_) __/ > /_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/ > /___/ > > There are 10 types of people in this world; those who understand the > binary numbering system and those who don't. > > There's no place like 127.0.0.1. > > ASCII a silly question, get a silly ANSI. Cor Ligthert [MVP] wrote:
> TyBreaker, Am I right in thinking the Anchor property only anchors controls to the > > Did you already had a look at the Anchor properties? edges of the form rather than to each other? -- ______ ___ __ /_ __/_ __/ _ )_______ ___ _/ /_____ ____ / / / // / _ / __/ -_) _ `/ '_/ -_) __/ /_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/ /___/ There are 10 types of people in this world; those who understand the binary numbering system and those who don't. There's no place like 127.0.0.1. ASCII a silly question, get a silly ANSI. On Sat, 12 Aug 2006 16:20:42 +1000, TyBreaker <tybreakerNO@SPAMhotmail.com> wrote:
>Cor Ligthert [MVP] wrote: Refers to edges of a container which could be a form, panel or other container.>> TyBreaker, >> >> Did you already had a look at the Anchor properties? > >Am I right in thinking the Anchor property only anchors controls to the >edges of the form rather than to each other? If you are talking about only a couple of controls, I would probably just use the layout event to "describe" the location relationship of one control to another (the layout event fires when a control is resized). If you are talking about many controls and using VB2005, you might look at the TableLayoutPanel which has a number of properties and possible combinations. (Here, a control's anchor refers to a cell edge). Gene
Can I make my program more efficient ?
Problem with ComboBox My for each loops do not compile - VB 2003 execution from command line Form2.vb[design] innaccessible ! Help! pumping wait primitives - what is that? Run an Access report in a VB .Net application Windows Service losing variable value? Problem with CustomTyped casting and type checking How to detect if program execution is in debug mode? |
|||||||||||||||||||||||