jaccessable
Registered User.
- Local time
- Yesterday, 16:08
- Joined
- Feb 12, 2016
- Messages
- 13
Is there a way to easily determine if a listbox is full. Ideally, it would be great if there was a listbox.size property that I could check after each listbox.additem, but there isn't. My problem is that I'm using a 10 column listbox that fills up right around 320 lines of data (32K) - plus or minus. Just some of my data exceeds the limit. Oddly, while attempting to overfill any other control would generate an error, trying to listbox.additem when the listbox is already full doesn't generate an error - it just keeps attempting to fill it until the do until loop is complete. So, my clunky workaround on this is to add an item, move to the last item in the listbox and count the items in the listbox every time to see if it grew. So, any ideas beyond that?
Just FYI, I plan to split the listbox into 2 later to deal with this permanently. But right now, I just need a reliable and easy way to notify users that only partial data is displaying.
Just FYI, I plan to split the listbox into 2 later to deal with this permanently. But right now, I just need a reliable and easy way to notify users that only partial data is displaying.