>Renoir,
>
>Here's code I use in the KeyPress method of the combo:
>
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>IF THIS.STYLE = 2 AND nKeyCode = KEY_DELETE
> THIS.LISTINDEX = 0
> THIS.INTERACTIVECHANGE()
>ENDIF
>
>
>KEY_DELETE = 7
>
>This allows the delete key to be used to "reset" the combo.
>
>>The application I'm working on uses the logic of having the first entry (default) in the RowSource as a space so that the user can select this if they choose an incorrect entry. For example, if the user inadvertently picked an option, without the blank available they would only be able to choose another option. This doesn't seem like a good interface to me. Is there a way for the user to easily revert the CombeBos to an empty value without having the blank in the list? Thanks!
>>
>>Regards, Renoir
Brien -
i was going to offer, that in the right click event, i set
the control's VALUE property to 0 or '' , but i like your
method better. more intuitive.
patrick