----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: zubinraj76 Message 1 in Discussion FlowLayoutPanel & TableLayoutPanel controls in Whidbey (In "Microsoft Visual C# 2005 - .Net Framework ver2.0" - Whidbey) When I was trying out Whidbey, I noticed 2 interesting components in the Windows Forms Toolbox (Visual Studio 2005), which I would like to point out here. 1. FlowLayoutPanel 2. TableLayoutPanel This is apart from the regular 'Panel' control that is included with the previous versions also. Both of these controls give tremendous control and ease in placing the controls properly and in an orderly fashion on the form. FlowLayoutPanel In the FlowLayoutPanel, whatever controls that you place in the panel, will rearrange itself to right of the previous control, in a flowing model. If the right side of the previous control does not have enough space, it would wrap itself to the next available space at the bottom. I found this to be very useful while placing many triplets of label->textbox->button controls one below the other and close to each other. TableLayoutPanel In TableLayoutPanel, the arrangement is in a tabular format as the name itself suggests. When you add a control to a cell of the table, it would reposition itself to the center of the cell. One cell of the table will take only one control. You can add as many rows/columns to the layout. This is extremely useful while placing multitudes of controls on a form in a correct and orderly fashion. This avoids the main headache while designing a form when it comes to inserting some controls in between the existing controls and you have to sit and re-align all the remaining controls that got affected. Java users could argue that this concept of 'layout' has been present in Java from very early versions. But definitely Microsoft has done a tremendous job in bringing it to the design time, which I am not sure whether any of Java builders have. Regards, Zubin. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
