Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click & DblClick
Message
From
22/10/1998 23:58:22
 
 
To
22/10/1998 11:17:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00149224
Message ID:
00149707
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform