PC Review


Reply
Thread Tools Rate Thread

Can I have "Shift-Click" or "Ctrl-Click" Code on Form List?

 
 
=?Utf-8?B?TWlrZVp6?=
Guest
Posts: n/a
 
      13th Jun 2007
Hi,
I have a form with 4 lists.

I want to be able to run one routine if a person left-clicks on an item in
list 1,
or run another routine if the either Shift/Ctrl/Right click on the item. I
just need one alternate clicking routine and don't really care what it is
(but don't want double-click). Right now the boxes are all single-select may
want the option to have it multi-select in the future.

Essentially I want to have one type of click reset all the other list boxes
and if I use the special-click, it acts like a drill-down feature
narrowing/shrinking the lists in all the other boxes.

Thanks,
MikeZz
 
Reply With Quote
 
 
 
 
Mike Fogleman
Guest
Posts: n/a
 
      13th Jun 2007
There are only 2 click events and one of them you don't want to use. In
order to reserve future multi-select I would abandon any key-press events
also. I would try a set of Option buttons and let the list click event read
the option setting and then run a particular macro on whichever option is
True. It would also provide a visual of which macro just ran.

Mike F
"MikeZz" <(E-Mail Removed)> wrote in message
news:2C6BC4A5-96F4-4F67-B5FE-(E-Mail Removed)...
> Hi,
> I have a form with 4 lists.
>
> I want to be able to run one routine if a person left-clicks on an item in
> list 1,
> or run another routine if the either Shift/Ctrl/Right click on the item.
> I
> just need one alternate clicking routine and don't really care what it is
> (but don't want double-click). Right now the boxes are all single-select
> may
> want the option to have it multi-select in the future.
>
> Essentially I want to have one type of click reset all the other list
> boxes
> and if I use the special-click, it acts like a drill-down feature
> narrowing/shrinking the lists in all the other boxes.
>
> Thanks,
> MikeZz



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want click "+" like in Explorer and have Excel show hidden list, click "-" and hide list rshep Microsoft Excel Discussion 7 4th Jan 2006 04:02 PM
Outlook XP - viewing contacts when click on "To" or "cc" or "BCC:" - address book is emty be Microsoft Outlook Contacts 1 18th Jan 2004 10:12 AM
Nothing happens when I click "Tools" then "Macro" or "Security" in Outlook 2003 MikeM Microsoft Outlook Discussion 1 18th Dec 2003 10:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:35 PM.