Am 11.12.2015 12:39, schrieb Benoît Minisini:
> 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,
>

Arrgh - Thank you!

Why didn't I find that? Maybe one reason was that the automatic only 
shows GridView.Row and reacts only when you type the 's.' "blindly", and 
then shows the list again. So I couldn't find it from trying.

But it's not so logical to have it there. IMHO it would be clearer if 
all things regarding the headers would appear under a keyword Title or 
Head[er].

Anyway, I corrected it, and now it runs perfectly :) Have a nice 
weekend, I'll be back on Monday.

Regards
Rolf


------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to