Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click & DblClick
Message
From
23/10/1998 02:23:30
 
 
To
22/10/1998 23:58:22
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00149224
Message ID:
00149729
Views:
19
>>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.
>

Actually it did make it clearer now, Sarosh. I even think you've got yourself a neat way of doing it. Still, I think it would require a particoularly advanced users to make it worth while, baring in mind those that run our apps today.

>Maybe I should rethink this interface.

That's always a good idea if you haven't done it yet. I'm not implying anything.

>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

Regards
Danijel
Previous
Reply
Map
View

Click here to load this message in the networking platform