Results 1 to 3 of 3

Thread: listbox, listview section

  1. #1
    Member
    Join Date
    May 2012
    Posts
    94

    listbox, listview section

    Hi,

    is it possible to populate listbox and listview with more than one column ?

    Thanks in advance.

  2. #2
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,362
    Hi Huub,

    Have you looked at the Canvas Section 'TreeGrid' control? Specify the text for the 'Header labels' and a SQL Select statement for 'List items'. In the 'click' event you can get x.CurrentItem.text, CurrentItem being the currently selected treeitem object.

    Or, in a Form Section, you can use the Grid gadget for multiple columns.

    Regards,

    Yvonne

  3. #3
    Senior Member
    Join Date
    Feb 2012
    Posts
    1,201
    Hi Huub,

    If there is a reason you HAVE to use a list instead of grid, you could concatenate the result of a query, but I don't recommend it.

    This would work, but it would look ugly unless you forced some blank characters in to align it.

    select first_name+" "+last_name from example

    herb

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us