Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Location
    Australia
    Posts
    183

    Question Unanswered: combo box default value help?

    How do you get the combo box to dispaly one value as a default value in Visual Basic 6.0?

    Thanks

  2. #2
    Join Date
    Oct 2003
    Posts
    357

    Thumbs up

    Hi,
    In the formload event write the following
    Code:
    comboboxname.additem "Name"
    comboboxname.additem "Age"
    comboboxname.additem "Sex"
    comboboxname.listindex=0
    and see the combo box displaying the value Name

    Madhivanan

Posting Permissions

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