[Gambas-user] GridView.ClientWidth yields incorrect size on Form_Open

Denis Crowther denisc at exemail.com.au
Sat Feb 2 04:07:35 CET 2019


I set the width to -1 which had no effect.
Using expand, with or without the width = -1, worked.




ps: Sorry Benoît, I didn't realise I had sent it to you personally.

Regards
Denis

On 2/2/19 2:30 am, Benoît Minisini wrote:
> Le 01/02/2019 à 15:53, T Lee Davidson a écrit :
>> On 2/1/19 3:51 AM, Rolf-Werner Eilert wrote:
>>> Now that I read your hint to use Arrange, of course I tried it, but 
>>> it has no effect.
>>>
>>> Regards
>>> Rolf
>>
>> In my project, I am resizing the first column to give it all extra 
>> available width; like AutoResize, but for the first column verses the 
>> last. Using the Arrange event works perfectly. (Thank you for that 
>> guidance, Benoît.)
>>
>>
>> ___
>> Lee
>>
> 
> Another way is setting the column width to "-1" or setting the column 
> Expand property to TRUE.
> 
> Regards,
> 


More information about the User mailing list