[Gambas-user] Gambas 3 Grid/Table question
Rolf-Werner Eilert
eilert-sprachen at ...221...
Wed Nov 10 11:20:49 CET 2010
Sorry, I was kinda tired this morning :-)
There is a linewrap in the Gridview even with Gambas 2, but it is a
default (at least I have not yet found a way to deactivate it) and it
does not by itself adjust the line height appropriately.
So the question would have to be: Is there a more specific way to define
this in Gambas 3? For instance:
Tableview1.Columns[3].WordWrap = TRUE
Tableview1.Columns[3].Width = 125
Tableview1.AdjustRowHeight = TRUE
would activate wordwrap for column 3, define a width of 125 px for this
column and start automatic row height adjusting for the whole table...
Maybe this would make sense for single rows? Then
Tableview1.Rows[2].AdjustRowHeight = TRUE
would be good, but I can't imagine a case where this might be good.
Regards
Rolf
Am 10.11.2010 09:10, schrieb Rolf-Werner Eilert:
> Just a question, as I do not have Gambas 3 running on my productive
> system yet. Currently, I'm considering a re-coding of one of my projects
> needing a Gridview/Tableview.
>
> In Gambas 2, there is no linewrap in a cell. Is it possible in Gambas 3?
> And if yes, is it possible to confine this behaviour to certain columns
> (which in turn would mean the table would have to adjust the row height
> automagically when a line is wrapped in one of its cells)?
>
> Regards
>
> Rolf
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list