>Is there a way to cause the drop down list of a Combo Box to "pop up" (or "pop down") when
>the user tries to enter a blank in its input field?
>
>I'd like to use something like "thisform.comobox1.ActivateDropDownList = .T.",
> when the combo box looses focus AND Lastkey() = 13.
>
>Does any such property or command exist for the Combo Box?
>
>TIA
>
>F. Bennett Swenson
You could use keypress if specifically [Enter] controlled and stuff alt+downarrow keyboard buffer.
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 13
nodefault
keyboard "{ALT+dnarrow}"
endif
If you'd use instead lastkey() then be sure to inlude :
and !MDOWN()
Cetin