FilterKey and FilterChar don't work on comboboxes

Archives Forums/MaxGUI Bug Reports/FilterKey and FilterChar don't work on comboboxes

Mark Tiffany(Posted 2007) [#1]
As per the title. Any reason why? (maybe not relevant on other platforms?) Looking at the C code on win32, it seems like it might be a copy & paste jobbie...but my quick hack didn't work...


Mark Tiffany(Posted 2007) [#2]
To clarify, SetGadgetFilter doesn't work when using the COMBOBOX_EDITABLE style - it probably doesn't make (much) sense for them to work on standard combo boxes.


jsp(Posted 2007) [#3]
From the help:

Currently only EVENT_KEYDOWN, EVENT_KEYCHAR, events produced by TextArea and TextField gadgets can be filtered with the SetGadgetFilter command.

Of course it would make sense to have it also for the Combobox_Editable...


SebHoll(Posted 2007) [#4]
Yep - this would be a nice little addition. Any chance Skid?