B blueworld New Member Licensed User Longtime User Jul 8, 2021 #1 Probably a really silly question but how can I increase the dropdown list count of a ComboBox the default is ten before the scrollbar appears I would like to increase this if possible. I've looked for a good while for a combobox.dropdowncount type property but can't see it. Thanks in Advance
Probably a really silly question but how can I increase the dropdown list count of a ComboBox the default is ten before the scrollbar appears I would like to increase this if possible. I've looked for a good while for a combobox.dropdowncount type property but can't see it. Thanks in Advance
EnriqueGonzalez Expert Licensed User Longtime User Jul 8, 2021 #2 That would be: Code: Combobox.as(javaobject).runmethod("setVisibleRowCount",array(3)) Where 3 is the max number of rows to be shown. This example requires latest beta version of b4j, if you only have the production version then dim javaobject and assign the combobox Last edited: Jul 8, 2021 Upvote 0
That would be: Code: Combobox.as(javaobject).runmethod("setVisibleRowCount",array(3)) Where 3 is the max number of rows to be shown. This example requires latest beta version of b4j, if you only have the production version then dim javaobject and assign the combobox
B blueworld New Member Licensed User Longtime User Jul 8, 2021 #3 Upgraded to the latest beta and it works perfectly Thank you Upvote 0