limit the show of item to 5 instead all

User avatar
sal21
PlatinumLounger
Posts: 4334
Joined: 26 Apr 2010, 17:36

limit the show of item to 5 instead all

Post by sal21 »

On click event (imagecombo) how to limit to 5 item in list... instead all?

in my case i have 31 item! and the list is very long!

User avatar
SpeakEasy
4StarLounger
Posts: 536
Joined: 27 Jun 2021, 10:46

Re: limit the show of item to 5 instead all

Post by SpeakEasy »

>how to limit to 5 item in list... instead all?

Odd. The Imagecombo is hardcoded to display a maximum of 9 items, it certainly shouldn't be showing all (unless you have 9 or less items), and certainly should not be showing 31.

Note the term 'hardcoded'. I am not aware of a method to set the max dropdown size to anything else (you CAN do this up to a point with the standard Combobox, but of course that doesn't show images, and that method does not work with imagecombo)

User avatar
sal21
PlatinumLounger
Posts: 4334
Joined: 26 Apr 2010, 17:36

Re: limit the show of item to 5 instead all

Post by sal21 »

SpeakEasy wrote:
09 Mar 2022, 19:31
>how to limit to 5 item in list... instead all?

Odd. The Imagecombo is hardcoded to display a maximum of 9 items, it certainly shouldn't be showing all (unless you have 9 or less items), and certainly should not be showing 31.

Note the term 'hardcoded'. I am not aware of a method to set the max dropdown size to anything else (you CAN do this up to a point with the standard Combobox, but of course that doesn't show images, and that method does not work with imagecombo)
sorry me, infact the imagecombo show max 9 item