kmeixner
08-11-2009, 11:15 AM
Hello,
I need to generate a menu from a data list of unknown length fetched from a database. I would like to set this drop-down menu to behave similar to a combobox where if there are more than 'n' items in the list it will only display 'n' items but have a scroll bar to scroll up and down.
I do not see any 'shownitems' attribute (or similar) on the menu class and if the list is too long it wraps and overlaps itself in a unusable manner.
Is there a way to add a scrollbar to a menu drop-down? I am using OpenLaszlo 3.4.0
Thanks,
Kevin
I need to generate a menu from a data list of unknown length fetched from a database. I would like to set this drop-down menu to behave similar to a combobox where if there are more than 'n' items in the list it will only display 'n' items but have a scroll bar to scroll up and down.
I do not see any 'shownitems' attribute (or similar) on the menu class and if the list is too long it wraps and overlaps itself in a unusable manner.
Is there a way to add a scrollbar to a menu drop-down? I am using OpenLaszlo 3.4.0
Thanks,
Kevin