Results 1 to 5 of 5

Thread: [RESOLVED]ComboBox - stupid problem

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Location
    in Poland
    Posts
    390

    [RESOLVED]ComboBox - stupid problem

    Hi All

    Just stupid problem or I have eclipse mind.

    I’ve an form 1 Combo and 1 CommandButton, I practise writing loop For...Next
    What am I doing wrong? I Want clear all items in ComboBox. I make such code.

    VB Code:
    1. Private Sub Command1_Click()
    2.     For i = 0 To Combo1.List(i)
    3.         Combo1.RemoveItem.List
    4.     Next
    5. End Sub

    And don't work, why?

    thanks for every help
    Last edited by Tamgovb; Feb 26th, 2006 at 07:15 AM.
    I know, I know, my English is bad, sorry .....

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