ListBox vs GridBox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • darien.watkins@gmail.com

    ListBox vs GridBox

    Is there a way to make a GridBox behave like the list box of old?

    I am populating the Gridbox with results from a database query, so I
    need multiple columns. The listbox in VB.net doesn't seem to do
    this. I want to be able to select a row, and use a value from that
    row to open another form, but whenever I select anything in the
    gridbox, it wants me to edit the cell.

    What's the best solution?

    Darien

  • Cor Ligthert[MVP]

    #2
    Re: ListBox vs GridBox

    Darien,

    The most simple one is to use a Datagrid and disable the visability of the
    Row and Column Header, than you have in fact a multi column listbox.

    Cor

    <darien.watkins @gmail.comschre ef in bericht
    news:1189625086 .547246.206730@ d55g2000hsg.goo glegroups.com.. .
    Is there a way to make a GridBox behave like the list box of old?
    >
    I am populating the Gridbox with results from a database query, so I
    need multiple columns. The listbox in VB.net doesn't seem to do
    this. I want to be able to select a row, and use a value from that
    row to open another form, but whenever I select anything in the
    gridbox, it wants me to edit the cell.
    >
    What's the best solution?
    >
    Darien
    >

    Comment

    Working...