You could at least re-write the code to somewhat like FOR iCol = 1 TO 33 'or 0 to 33? GridView1.Columns[iCol].Width = number NEXT
By the way, would this run? Never tried it: With GridView1 .columns.Count = 34 .Rows.Count = 12 FOR iCol = 1 TO 33 'or 0 to 33? .Columns[iCol].Width = number NEXT .Rows.Height = 16 .Font.Size = 9 .Font.Bold = True End With Regards Rolf Am 01.03.2012 01:46, schrieb Ru Vuott: > Yes, Benoit, before it was possible. > > An little exemple (before): > > With GridView1 > .columns.Count = 34 > .Rows.Count = 12 > .Columns.Width = 12 '<------------- !!!! > .Rows.Height = 16 > .Font.Size = 9 > .Font.Bold = True > End With > > > Now, it's not possible !!! > How can I set all columns of grid of my "old" program ? :-( > > Bye > Vuott > > > > > --- Gio 1/3/12, Benoît Minisini<gam...@users.sourceforge.net> ha scritto: > >> Da: Benoît Minisini<gam...@users.sourceforge.net> >> Oggetto: Re: [Gambas-user] Why not .Columns.WIDTH = nn in new Gridview ? >> A: "mailing list for gambas users"<gambas-user@lists.sourceforge.net> >> Data: Giovedì 1 marzo 2012, 01:37 >> Le 01/03/2012 00:26, Ru Vuott a >> écrit : >>> Hello Benoit, >>> >>> with new Gridview I noticed that is not possible >> write: >>> >>> Gridview1.Columns.WIDTH = number >>> >>> Now there are only: >>> Count >>> H >>> Height >>> Max >>> Resizable. >>> >>> Maybe, WIDTH in future revisions ? >>> >>> Bye >>> Vuott >>> >> >> What do you want that to do? Setting the same width to all >> columns? >> >> -- >> Benoît Minisini >> >> ------------------------------------------------------------------------------ >> Virtualization& Cloud Management Using Capacity >> Planning >> Cloud computing makes use of virtualization - but cloud >> computing >> also focuses on allowing computing to be delivered as a >> service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user