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 :->> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user