Fixing a table collumn width,how?

Cableguy

Expert
Licensed User
Longtime User
Hi, how can I achieve this?
I need to prevent the user from changing the column width....
 

Cableguy

Expert
Licensed User
Longtime User
Did you try to set Table.HeaderVisible to false?

Actually NO....
I was using it to ref the collumns, but I can use a label for that...
Nice tip...
BTW, how can we add a collumn after a sql "table read" (this is the easy part), and then make this newly added collumn, the FIRST collumn...???
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Actually NO....
I was using it to ref the collumns, but I can use a label for that...
Nice tip..
You should test it, I'm not sure if the user can drag the vertical lines or not.

BTW, how can we add a collumn after a sql "table read" (this is the easy part), and then make this newly added collumn, the FIRST collumn...???
You should add it during the query:
B4X:
cmd.CommandText = "SELECT '' AS newcol, table1.* FROM table1"
 

Cableguy

Expert
Licensed User
Longtime User
You should add it during the query:
B4X:
cmd.CommandText = "SELECT '' AS newcol, table1.* FROM table1"

Hum, Inowseethat I've only started to suprficially tap the L command syntax....
It sems to be able do execute some very complex queries..
 
Top