Feature SS-102
4 votes

ComboBox with drop-down list

Created by ioan92 on 4/5/2014 3:55 PM Last Updated by Davide on 5/3/2014 8:57 PM
Logged: 0   (hrs)


Hi Davide,


Please, could you design a full featured (Windows tyoe)  ComboBox Plugin, with the ability to select directly from the scrolled list ?

I have in mind as exemple your perfect plugin RadioButtons that is excellent for getting pretty input interfaces.






    Davide (Saturday, May 3, 2014 8:49 PM) #

Uploaded the first beta (password: test)

- added SMath Viewer controls;

- added "goto by leading characters" (like in standard controls)

- fixes & improvements;



As for the colors I've tried some basic solutions without satisfaction... I want to add something stable through plugin's improvements and changes, reusable on other plugins with the same layout (as mentioned numeric up/down and slider) and easy to use and maintain, So will be moved as separate task (I'll open a new SS-### in the BTS).


    ioan92 (Sunday, April 27, 2014 1:56 PM) #

Hi Davide,


The last version in line (0.0.5229.4.1620) runs well for me.

As for colors, I think it would be better if you could apply the same solution as for RadioButtons plugin.

As for other aspects, in this moment,  I have no reserves.


Thanks again and Best Regards,





    Davide (Sunday, April 27, 2014 1:44 AM) #

Hi Ioan,


As for numeric up/down and slider, color handling is not easy to solve, because there are images involved (fixed colors) and a lot of objects and related colors (standard, hovered, selected, etc...)


Width/height are driven by the content (but you are right, there's a bug in the preview changing the font settings - thank you [fixed])


DoubleClick is enabled in the header of the region and in the selected item (that shown in the header) of the drow-down list - and only if the worksheet is not under evaluation and - yes - is a little bit faster than the standard (this because the menu collapse/extension is driven by the double-click event listener, so to reduce the lag I've reduced the DoubleClick timing - from 300ms to 250ms - but I can restore the standard [done]).


> The liste closing when lost focus event seems deleyed sometimes (?). This could be also linked to the system.


I've made some improvements in the 0.0.5229.36040 version, while the 0.0.5229.28411 shows a white list when you select an item on slow systems/heavy worksheets (don't know what vrsion have you tested). Don't know if this is the issue that you have noticed (for loosing focus I consider that you click in a zone of the canvas outside the region or you press the tab key - this is really fast on my system, even on heavy worksheets)

    ioan92 (Saturday, April 26, 2014 11:40 PM) #

Hi Davide,


It's great ! It works good for me.

I can say that it exceeds my expectations - good and "just in time".

Colors handling seems not yet fully solved. Background color is never changed. Only border color seems sensible for changings.

I've seen that the width is fixed and is no sensitive to fonts changing (?).

It seems  necessarily a very rapide mouse duble click  for opening the settings box.

The liste closing when lost focus event seems deleyed sometimes (?). This could be also linked to the system.


Big Thanks and Best Regards,





    Davide (Saturday, April 26, 2014 8:32 PM) #

In the EM I've uploaded a plugin for testers (support for SMath Viewer not yet available).


    Davide (Tuesday, April 22, 2014 12:29 AM) #

Possible layouts:

- DropDownList (HTML example)

- ListBox (HTML example)

- ComboBox (this is limited by SS-72 so will be moved as further feature)

    Davide (Monday, April 21, 2014 9:44 PM) #

State of the things:


    ioan92 (Thursday, April 10, 2014 8:35 PM) #

Thanks a lot  Davide !!!  That's it!

Please take a look also on my comments for the RadioButtons, concerning the labels selection.


Best Regards,




    Davide (Thursday, April 10, 2014 2:23 AM) #

Small concepts (painted)