Thread: filling a ListBox with variables, not just text?

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    11

    Question filling a ListBox with variables, not just text?

    I was wondering how you would go about filling a ListBox with a bunch of variables, instead of just lines of text, using the Items component. something like...

    ListBox1->Items=names[]

  2. #2
    Registered User
    Join Date
    Nov 2005
    Posts
    673
    If your talking about putting numbers and stuff into the listbox, then you just convert the variables into a string, and display it as you normally would. Your question is kind of vague though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing variables to a text doc?
    By Cielo in forum C++ Programming
    Replies: 3
    Last Post: 03-18-2008, 04:10 AM
  2. Inserting text into listbox
    By twomers in forum Windows Programming
    Replies: 6
    Last Post: 09-02-2007, 09:43 PM
  3. Removing text between /* */ in a file
    By 0rion in forum C Programming
    Replies: 2
    Last Post: 04-05-2004, 08:54 AM
  4. Small HTML question
    By Thantos in forum Tech Board
    Replies: 4
    Last Post: 12-29-2003, 12:37 AM
  5. Replies: 1
    Last Post: 07-13-2002, 05:45 PM