O
Olaf Rabbachin
Hi folks,
I'm have a user-control that imitates a thumbnail-listview. Within, I have
a panel (pnlOuter) that represents the viewable area and another panel
(pnlInner) which represents the list as a whole with a scrollbar that'll
enable the user to change the viewable area.
Hence, pnlInner will grow in vertical size once more items are added to the
list than may fit into pnlOuter (being the viewable area).
When checking the behaviour with a large list of items though I had to find
out that a panel's height may not exceed 32767 pixels (= int16.MaxValue).
No exception will be risen, but the control just won't grow anymore.
Thus, if any items are added that would require pnlInner to be larger than
this max-value, they may never be seen/scrolled to.
The same also applies to a user-control itself - no way to enlarge it above
32767px!
Is there any way to further enlarge a control? Virtually, the panel would
have to be able to have an infinite height really, but I guess it'd be more
probable that there'd be insufficient memory first.
How would I have to handle resp. create such a large listbox in general?
From Access I know the fact that there may not be more than 65535 items at
a time - is that really connected to the listbox's max. height?
Thanks for any suggestions!
Cheers,
Olaf
I'm have a user-control that imitates a thumbnail-listview. Within, I have
a panel (pnlOuter) that represents the viewable area and another panel
(pnlInner) which represents the list as a whole with a scrollbar that'll
enable the user to change the viewable area.
Hence, pnlInner will grow in vertical size once more items are added to the
list than may fit into pnlOuter (being the viewable area).
When checking the behaviour with a large list of items though I had to find
out that a panel's height may not exceed 32767 pixels (= int16.MaxValue).
No exception will be risen, but the control just won't grow anymore.
Thus, if any items are added that would require pnlInner to be larger than
this max-value, they may never be seen/scrolled to.
The same also applies to a user-control itself - no way to enlarge it above
32767px!
Is there any way to further enlarge a control? Virtually, the panel would
have to be able to have an infinite height really, but I guess it'd be more
probable that there'd be insufficient memory first.
How would I have to handle resp. create such a large listbox in general?
From Access I know the fact that there may not be more than 65535 items at
a time - is that really connected to the listbox's max. height?
Thanks for any suggestions!
Cheers,
Olaf