[Gambas-user] Table view
Doriano Blengino
doriano.blengino at ...1909...
Tue Oct 14 22:26:29 CEST 2008
Doriano Blengino ha scritto:
> Almanova Sistemi ha scritto:
>
>> Stefano Palmeri ha scritto:
>>
>>
>>> TableView1.Rows.Height = 2000
>>>
>>>
>> Ok,
>> I have tried with your instuction during TableView_Data event and I get
>> a "Stack Overflow" messages.
>>
>> Why?
>>
>>
> ...because, apparently, changing the height of a row makes the tableview
> think it needs data again, so it fires a data event, which changes
> height, wich fires data event, which... ...fills up the stack.
>
Just forgot the simplest solution - why should you change the height in
the data() handler? Do it somewhere else... the stack will be less
funny, but surely something else will make you smile :->>
More information about the User
mailing list