I had proposed accomplishing it with
This.DropDown()
in the Combo.Keypress instead of
KEYBOARD '{ALT+DNARROW}' PLAIN CLEAR
This.DropDown() didn't work when I tested it with SPACE. In our framework it does work with the F4 key.
>>Retracted, my idea doesn't work with SPACE.
>>
>>
>>>I've got a special quickfill combobox based on the quickfill combo in "1001 Things ...". However, in our situation, no valid entries can begin with spaces. So, I'd like to make the combobox work like a dropdown list when the spacebar is pressed (i.e. opens/displays the dropdown list).
>>>
>>>I tried trapping the spacebar in the interactivechange event and then calling this.DropClick. That seemed to have no effect.
>>>
>>>Is this possible to do?
>
>
>Sure you can. In your ComboBox.KeyPress:
>
LPARAMETERS nKeyCode, nShiftAltCtrl
>IF nKeyCode=32 AND nShiftAltCtrl=0
> NODEFAULT
> KEYBOARD '{ALT+DNARROW}' PLAIN CLEAR
>ENDIF