Fixing a table collumn width,how?

Discussion in 'Questions (Windows Mobile)' started by Cableguy, Nov 17, 2008.

  1. Cableguy

    Cableguy Expert Licensed User

    Hi, how can I achieve this?
    I need to prevent the user from changing the column width....
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Did you try to set Table.HeaderVisible to false?
     
  3. Cableguy

    Cableguy Expert Licensed User

    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...???
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You should test it, I'm not sure if the user can drag the vertical lines or not.

    You should add it during the query:
    Code:
    cmd.CommandText = "SELECT '' AS newcol, table1.* FROM table1"
     
  5. Cableguy

    Cableguy Expert Licensed User

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

    Cableguy Expert Licensed User

    Just tested and it works great...
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice