« il: 02 Gennaio 2014, 15:49:47 »
Vi riporto questa discussione in apparsa nella M.L. ufficiale:
"
what is needed to get
word warp height resizing working ? this is what i haveGridView1.Rows[Index].Height = -1
GridView1[Index, 0].WordWrap = True
so wordwarp works but the height is not resized
Shane "
"
You have to set the row height to -1 in the Arrange event, not when you
load a cell.
This is because of something like the runtime does not know what to do
with the row heights until it is all loaded.
I had the same problem some months ago, Beniot's explanation is
somewhere in the mailing list archives. I can only suggest you search it
for "gridview row height", but I do not remember the topic, sorry.
Bruce "
"
Aha, found it!
Topic is "gridview row heights when cell is wrapped" and Benoit's
answers on the 1st May 2013 are germaine. (vedi qui:
http://gambas.8142.n7.nabble.com/gridview-row-heights-when-cell-is-wrapped-td41793.html)
Bruce "
Registrato
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »