>A couple of questions:
>1. Why? (as others asked :-)
>2. In a dropdown combo or dropdown list?
>3. When the list is dropped open? or when it is closed?
>
>Depending on what you are trying to achieve, it might work better to implement a textbox over a dropdown. Making on or the other invisible depending, of course, on what the user is doing.
>
>>What is the best way of implementing a Click and a DblClick in a Combobox.
What I'm trying to do here is this.
All my Foreign Key columns are based on a Drop-down List (Style = 2).
When the user clicks (single) the List opens up as usual (that's fine)
When they right click its parent.parent.rightclick is called "this.parent.parent.rightclick()" which opens up a shortcut menu with the usual add/delete/navigation menu options etc. this happens only if that combo's parent is a column (i.e. it belongs to a grid)
What I want to do now is this. If they double click such a combo (i.e. it belongs to a grid) I want to open that Foreign Keys data entry form so that they can add/delete records in that table. Right now Ctrl+Ins in the keypress of the combo does the same thing but I want this to happen with the mouse (using a double click as it is the only remaining event).
I hope this makes a more clear.
Maybe I should rethink this interface.
Thank you all for your suggestions and ideas. I would surely like to hear a bit more on this from you all. (if possible)
Thanks again.
Sarosh
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement