[Gambas-user] GridView.ClientWidth yields incorrect size on Form_Open
T Lee Davidson
t.lee.davidson at gmail.com
Sun Feb 3 01:03:10 CET 2019
Thank you for that, Denis. But, even that didn't work for me.
I can accomplish what I need by mathematically resizing the variable-width column in relation to the combined widths of my
fixed-width columns.
___
Lee
On 2/2/19 6:39 PM, Denis Crowther wrote:
> Sure Lee,
>
> Copied straight from a working program.
>
> I 'think' the trick is to use the Arrange event.
> Using -1 didn't work for me in the arrange event,
> I haven't tested it anywhere else yet.
>
>
> Public Sub tblTest_Arrange()
>
> With tblTest
> .Columns[0].Width = 0
> '.Columns[1].Width = 150
> .Columns[1].Expand = True
> .Columns[2].Width = 50
> End With
>
> End
>
> Regards
> Denis
More information about the User
mailing list