VB How-ToAsk your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Im writing a scheduling application with VB and ASP.net.
How do I control the layout of the components on the webpage. I have it set for Flow Layout, but unless the page is maximized, the controls will overlap, and look terrible.
The easiest way is to not use flow layout. Flow is designed to allow components to re-arrange themselves in accordance with the display they find themselves on. This is like word-wrap in a word processor: Very helpful for a love letter, a big problem for a profits and losses report...
Use grid layou, and you can slide all the component around in the designer, and the user will receive exactly the same layout that you developed.
Alternately, you can put everything in tables, with every <td> having nowrap set. (Much harder!)