search
Twitter Rss Feeds
MicrosoftArticlesForumsGroups
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml/Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsGroups
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsGroups
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsGroups
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsGroups
Microsoft Excel
Microsoft Word
Microsoft Powerpoint
Publisher
Money

Operating SystemsArticlesForumsGroups
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsGroups
Share Point
BizTalk
Site Server
Exhange Server
IIS
Transaction Server

Graphic DesignArticlesForumsGroups
Macromedia Flash
Adobe PhotoShop
Microsoft Expression

OtherArticlesForumsGroups
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Reviews
Search Engines
Resumes

 

Previous Thread:   SplitContainer Transitions

2/23/2006 9:45:35 AM    Width of textbox on a FlowLayoutPanel
Hi,  
  
I have three textboxes on the same row on a FlowLayoutPanel. I want the  
  
one on the left and right to have a fixed width but for the one in the  
  
middle to fill any remaining space depending on the width of the  
  
FlowLayoutPanel. Is this possible? (The widths of the left and right  
  
boxes aren't known until runtime).  
  
I was thinking that I could handle the SizeChangingEvent and work out  
  
the width to set the middle text box to. This would basically be: width  
  
of FlowLayoutPanel - width of left text box- width of right text box.  
  
However, I don't know how to determine what controls are on the same  
  
row in order to retrieve their width?!  
  
Any help appreciated.  
  
Thanks  
  
Tristan.

2/28/2006 1:50:35 PM    Re: Width of textbox on a FlowLayoutPanel
Could try messing around with panels and docks just a matter of setting left  
  
and right to dock left and right and middle to dock . fill, but this would  
  
require alot of panels  
  
"Tristan" <tristan_sehgal@yahoo.co.uk> wrote in message  
  
news:1140716735.095645.8450@g44g2000cwa.googlegroups.com...


Pete's Blog   |    Pete's Resume   |    Robbe's Blog   |    Robbe's Resume   |    Archive #2   |    Archive #3   |    Dotnetslackers   |    XmlPitStop   |    Advertise   |   Contact Us   |   Privacy   |   Copyright (c) 2000 - 2009 eggheadcafe.com  All rights reserved.