[Gambas-user] Alignement in a tableview

Eilert eilert-sprachen at ...221...
Wed Jun 22 10:52:23 CEST 2005


Hi Jacky,

Jacky schrieb:
> Salut,
> 
> I need some help for these two questions.
> 1- In a tableview is it possible to do a right alignement in a column and a 
> left alignment in another ? (  As "Columns[].Alignment = 4" in a columnview )
> I try  "tableview.data.alignment = align.right" but all columns are align to 
> right.

You might have forgotten to ask for the column first, i. e. you should do

select case Column
case 3
	tableview.data.alignment = align.right
case else
	tableview.data.alignment = align.left
end select

Does this help?

> 
> 2- How to do appear all lines of a textarea in a columnview ?

What do you mean, I do not understand the question :-)

I've asked a similar question here some time ago but didn't get any 
answer: is it possible to do a word-wrap within a tableview cell? But 
this is not what you wanted to know, is it?


Rolf





More information about the User mailing list