[Gambas-user] Why not .Columns.WIDTH = nn in new Gridview ?

Rolf-Werner Eilert eilert-sprachen at ...221...
Thu Mar 1 15:41:59 CET 2012


And once again, Benoit was faster than we all :-)

Regards

Rolf

Am 01.03.2012 14:30, schrieb Ru Vuott:
> Uhmmm... thanks, but before (and now reinstated by Benoit) it was shortest way then For etc etc !!!
>
>
>
>
> --- Gio 1/3/12, Rolf-Werner Eilert<eilert-sprachen at ...221...>  ha scritto:
>
>> Da: Rolf-Werner Eilert<eilert-sprachen at ...221...>
>> Oggetto: Re: [Gambas-user] Why not  .Columns.WIDTH = nn  in new Gridview ?
>> A: gambas-user at lists.sourceforge.net
>> Data: Giovedì 1 marzo 2012, 08:58
>> 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<gambas at ...1...>
>> ha scritto:
>>>
>>>> Da: Benoît Minisini<gambas at ...1...>
>>>> Oggetto: Re: [Gambas-user] Why not
>> .Columns.WIDTH = nn  in new Gridview ?
>>>> A: "mailing list for gambas users"<gambas-user at 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 at 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 at 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 at 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>





More information about the User mailing list