[Gambas-user] GridView - Width of row header
Benoît Minisini
gambas at ...1...
Fri Dec 11 12:39:19 CET 2015
Le 11/12/2015 12:13, Rolf-Werner Eilert a écrit :
> No one here who knows how to achieve this?
>
> Regards
> Rolf
>
> Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert:
>> In an older project with Gambas2, I needed to pick the X position of the
>> cells. The GridView has Headers = Both. It seems it started counting
>> with 0 at the first white column, i. e. behind the row header, so never
>> mind how wide the header was, it would always find the correct position.
>>
>> In Gambas3 it seems to start counting with 0 at the leftmost position of
>> the GridView, i. e. on the left side of the row header. So when the
>> width of the header varies, how could I find out the width of the header
>> column, as Column[0] is the first white one?
>>
>> Thanks for your help!
>>
>> Rolf
>>
GridView.Rows.Width returns the width of the row header.
GridView.Columns.Height returns the height of the column header.
Regards,
--
Benoît Minisini
More information about the User
mailing list