[Gambas-user] Tableview format
Fabien Bodard
gambas.fr at ...626...
Thu May 17 23:38:36 CEST 2007
2007/5/17, nogueira_jr <nogueira_jr at ...172...>:
>
> Hi All:
>
> Please, help me in the TableView:
>
> I use SQLite3 and my table have:
> codigo alfanumerico 13
> preco float
>
> Problem 1: Tableview show the order:
> CODIGO
> 1
> 10
> 11
> 2
> 3 .....
>
> I want the correct order:
>
> 1
> 2
> 3
> ....
> 9
> 10
> 11
use the sql statement :
"SELECT * FROM MyTable ORDER BY codigo
Problem 2: Tableview show the alignment:
> PRECO
> 10.00
> 1.99
> 100.50 .....
>
> I want the correct alignment to right:
> 10.00
> 1.99
> 100.50 ...
in the GridView1_Data event :
if Column=1 then GridView1.Data.Alignment=align.right
THATS ALL FOLK :)
Fabien Bodard
OK?
> "Obrigado" from Brazil
> Nogueira
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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