Cableguy Expert Licensed User Longtime User Nov 17, 2008 #1 Hi, how can I achieve this? I need to prevent the user from changing the column width....
Erel B4X founder Staff member Licensed User Longtime User Nov 17, 2008 #2 Did you try to set Table.HeaderVisible to false?
Cableguy Expert Licensed User Longtime User Nov 17, 2008 #3 Erel said: Did you try to set Table.HeaderVisible to false? Click to expand... 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 said: Did you try to set Table.HeaderVisible to false? Click to expand... 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 Nov 17, 2008 #4 Actually NO.... I was using it to ref the collumns, but I can use a label for that... Nice tip.. Click to expand... 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...??? Click to expand... You should add it during the query: B4X: cmd.CommandText = "SELECT '' AS newcol, table1.* FROM table1"
Actually NO.... I was using it to ref the collumns, but I can use a label for that... Nice tip.. Click to expand... 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...??? Click to expand... You should add it during the query: B4X: cmd.CommandText = "SELECT '' AS newcol, table1.* FROM table1"
Cableguy Expert Licensed User Longtime User Nov 17, 2008 #5 Erel said: You should add it during the query: B4X: cmd.CommandText = "SELECT '' AS newcol, table1.* FROM table1" Click to expand... Hum, Inowseethat I've only started to suprficially tap the L command syntax.... It sems to be able do execute some very complex queries..
Erel said: You should add it during the query: B4X: cmd.CommandText = "SELECT '' AS newcol, table1.* FROM table1" Click to expand... Hum, Inowseethat I've only started to suprficially tap the L command syntax.... It sems to be able do execute some very complex queries..
Cableguy Expert Licensed User Longtime User Nov 17, 2008 #6 Erel said: You should test it, I'm not sure if the user can drag the vertical lines or not. Click to expand... Just tested and it works great...
Erel said: You should test it, I'm not sure if the user can drag the vertical lines or not. Click to expand... Just tested and it works great...