Le 21/01/2012 17:48, M. Cs. a écrit : > Is there a way to force a GridView control with 4 columns to adjust > the column's width to the content's width? > > How would it work with a control which expands or stretches itself > during maximizing the FMain? > > Thanks! >
Normally you have to set the column width to -1 to make it adjust its contents. But I'm not sure that it works with GridView using the Data event. Just test and tell me. :-) -- Benoît Minisini ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
