Results 1 to 3 of 3

Thread: Combo Box spec

  1. #1

    Thread Starter
    Fanatic Member Bonker Gudd's Avatar
    Join Date
    Mar 2000
    Location
    Saturn
    Posts
    748
    I need to find out what the maximum recommended number of rows are for a Combo Box (using VB6). Having some performance problems.
    Your help is much appreciated!

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    try this:

    Private Sub Command1_Click()
    Do
    Combo1.AddItem "xxxxx"
    Label1.Caption = Combo1.ListCount
    DoEvents
    Loop

    End Sub


    At 32767 the count goes negative.

    Don't use too many I say!

    How many were you using?
    Mark
    -------------------

  3. #3

    Thread Starter
    Fanatic Member Bonker Gudd's Avatar
    Join Date
    Mar 2000
    Location
    Saturn
    Posts
    748
    We're trying to find a reason why we shouldn't use one containing a lot of rows. Strange I know!
    We've reduced the rows to a couple of thousand.
    Thanx anyway Mark!

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