[Gambas-user] TableView (or GridView) .Height = 100% Control.Count
Fabien Bodard
gambas.fr at ...626...
Sun Jan 26 23:05:27 CET 2014
Public Sub GridView1_Arrange()
GridView1.Height = GridView1.Rows[GridView1.Rows.Max].y +
GridView1.Rows[GridView1.Rows.Max].Height + 10
'Print GridView1.Rows[GridView1.Rows.Max].Y +
GridView1.Rows[GridView1.Rows.Max].Height
End
2014-01-26 Fabien Bodard <gambas.fr at ...626...>:
> Is this good for you ? :
>
> GridView1.Height = GridView1.Rows[GridView1.Rows.Max].y +
> GridView1.Rows[GridView1.Rows.Max].Height + 10
>
> 2014-01-26 abbat81 <abbat.81 at ...787...>:
>> <http://gambas.8142.n7.nabble.com/file/n45377/123.png>
>>
>> How to show all rows and to do not show white empty area if it is not
>> needed.
>>
>>
>>
>> --
>> View this message in context: http://gambas.8142.n7.nabble.com/TableView-or-GridView-Height-100-Control-Count-tp45372p45377.html
>> Sent from the gambas-user mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
--
Fabien Bodard
More information about the User
mailing list