Sorry, there was another reason: I forgot to set the flag for controlling the column width in the function - now everything works as expected.
Didn't mean to bother you with this Regards Rolf Am 25.02.2014 10:37, schrieb Rolf-Werner Eilert: > When I have a GridView with several Columns and I set "automatic" for > the Column Width (gridview.Columns[x].Width = -1), it seems I cannot > change back to a defined width programmatically later. > > So if I set gridview.Columns[x].Width = 10, nothing happens. The user, > however, can drag the column lines by hand. It will then not switch to > automatic again. > > Any idea if that's wanted? > > Rolf > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user