By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,097 Members | 1,431 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,097 IT Pros & Developers. It's quick & easy.

Popupmenu and Listbox query

devonknows
100+
P: 137
Afternoon all, i was wondering if you could help me with a slight problem, well not so much of a problem an annoyance, i have a listbox control, now its populated heavily with all sorts of data from a database with ADODB, however i have a popupmenu on this list box
Expand|Select|Wrap|Line Numbers
  1. If Button = vbRightButton then 
  2.     Me.Popupmenu mnulstAlbums, , , , mnuIns
  3. end if
  4.  
thats all good and well, but say if you move the mouse like 5 entries above i want to highlight the entry that the mouse is over before the popup menu appears, (i know killer will probably be sarcy and say well click first so thought id get that in first hehe) but if you get what i mean, ive tried changing the button to vbLeftButton before the menu appears but that doesnt seem to work, any help will be appreciated as always.

Kind Regards
Devon.
Mar 30 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.