Results 1 to 3 of 3

Thread: ListView

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    California
    Posts
    115

    Post

    Is there a limitation on the listview control?


    I know the listbox control is 32k(even though I've been able to get WAY more than that in)


    ------------------
    Ryan French
    Niresoft Incorporated
    http://www.niresoft.com
    [email protected]

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Yes, there is. But the limitation is a Long data type, which means - 2,147,483,647. I think it's enough. LoL

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]
    ICQ#: 51055819


  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Post

    A ListBox isn't actually limited to 32kB of text but to 32767 items. Each item is a string that doesn't have any limitation in size (except for your systems RAM). Just like Serge said a ListView uses a Long instead of an Integer to index the items so the limitation there is over 2 billion items.

    Good luck!

    ------------------
    Joacim Andersson
    [email protected]
    [email protected]
    www.YellowBlazer.com



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