Results 1 to 3 of 3

Thread: combobox - value and index!

  1. #1

    Thread Starter
    New Member steinwerfer's Avatar
    Join Date
    Dec 2002
    Location
    north germany
    Posts
    2

    combobox - value and index!

    please help me.

    a small combobox with:

    Code:
    cmbNames.Items.Add("Russia")           'index = 0...
    cmbNames.Items.Add("USA")         
    cmbNames.Items.Add("Timbuktu")
    what if the indices or value-values of "russia" or "usa" are different of the combobox-indices?

    Code:
    [no code, only for better undestanding]
    
    combox(0) :: Russia = 2
    combox(1) :: USA = 1
    combox(2) :: Timbuktu = 51
    the names dont come from a table or database.
    rafael

  2. #2

  3. #3

    Thread Starter
    New Member steinwerfer's Avatar
    Join Date
    Dec 2002
    Location
    north germany
    Posts
    2
    oh, i didn't find it. thanks.

    ---

    do you have a "text-in-vB-Code"-converter or how do you change all the colors in your code-samples? i am searching for one... and dont have the time to build me one himself. because the manual "part-by-part"-setting is a little difficult by so many code-samples.
    rafael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width