Jump to content

Recommended Posts

Posted (edited)

Hi guys,

I have tried the forum search and help file.

When I load lines of a text file into a listview, it seems to limit to 4096 lines .

1. Is this correct?

2. Is there a size limitation?

3. Does listbox, combobox, etc have same limit?

Best, randall

Listview maximum 4096 lines?

Is there a max size or num items?

Edited by randallc
Posted (edited)

A1. Yes.

A2. Yes, 4096. Or do you mean the width/height of the list view?

A3. Yes, I think.

Look in the help file at "AutoIt3 limits/defaults".

Edited by Burrup

qq

Posted

Hi guys,

I have tried the forum search and help file.

When I load lines of  a text file into a listview, it seems to limit to 4096 lines .

1.  Is this correct?

2. Is there a size limitation?

3. Does listbox, combobox, etc have same limit?

Best, randall

Listview maximum 4096 lines?

Is there a max size or num items?

<{POST_SNAPBACK}>

certainly a little bit less as each listviewitem is a control and the maximorum number of controls is 4093. See AutoIt limits in the appendix. :(

For listbox/combobox as you are adding with GuiCtrlSetData, you will reach the Windows limits that I am not knowing.

  • 1 month later...
Posted

What is the reason for the 4096 control limit? Is that an AutoIt limit or a windows limit?

I'm making a GUI with a ListView or a TreeView (haven't decided which yet) and I see myself using more than 4096 lines, and since each line counts as a control...

Posted

What is the reason for the 4096 control limit?  Is that an AutoIt limit or a windows limit?

I'm making a GUI with a ListView or a TreeView (haven't decided which yet) and I see myself using more than 4096 lines, and since each line counts as a control...

<{POST_SNAPBACK}>

Each row is a control and there is a limit of 4093 controls.

I definetly design the GUI for small application not for Windows replacement.

Posted

I've always wondered if this limit is present with the normal list-control,

or if it's only one "big" control. Anyone who knows, or mind checking ?

I'm unable to test this myself at the moment. Stupid Macs.

Posted

I've always wondered if this limit is present with the normal list-control,

or if it's only one "big" control. Anyone who knows, or mind checking ?

I'm unable to test this myself at the moment. Stupid Macs.

<{POST_SNAPBACK}>

did you read my above post?
Posted (edited)

Yes I did read your post, jpm.

However, as you quoted a post which only mentioned ListView and Treeview,

I thought you were only refering to those. That's why I asked specifically

about the normal List-control. Well well, question answered.

Edit : Typo

Edit II : Sorry jpm.. I didn't notice you talked about listboxes earlier.

You may now shoot me :">

Edited by Helge
Posted (edited)

Perhaps there is a message we can send, to expand (I really have no clue, just using my brain :whistle:) the amount of items in a list-view ? Because isn't there a GUICtrlSendMsg for the edit control to allow more characters inside an edit control ? Or will there be buffer problems or something ?

Just thinking out loud...

Edited by layer
FootbaG
Posted

Yes I did read your post, jpm.

However, as you quoted a post which only mentioned ListView and Treeview,

I thought you were only refering to those. That's why I asked specifically

about the normal List-control. Well well, question answered.

Edit : Typo

Edit II : Sorry jpm.. I didn't notice you talked about listboxes earlier.

You may now shoot me  :">

<{POST_SNAPBACK}>

I try to never shoot I am not a good hunter ... :whistle:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...