Results 1 to 3 of 3

Thread: Resolved: Combo box problem (its just MS being crap again...)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member SjR's Avatar
    Join Date
    Jul 2001
    Location
    Birmingham, UK
    Posts
    336

    Unhappy Resolved: Combo box problem (its just MS being crap again...)

    Hi,
    I have a combo box - dropdownlist style
    There are 3 items in the list
    I want the combo box to be clear when the form is loaded, so that the user can select one from the list (VB6: Index = -1).

    So how come.....
    VB Code:
    1. Me.ComboBox1.SelectedIndex = -1
    ...shows the first item in the list, but...
    VB Code:
    1. Me.ComboBox1.SelectedIndex = -1
    2. Me.ComboBox1.SelectedIndex = -1
    ... shows it blank as I want it to ...

    Why twice? Am I doing it wrong?
    Last edited by SjR; Jul 2nd, 2003 at 04:57 AM.
    Another satisfied customer

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