|
-
Jul 2nd, 2007, 04:49 AM
#1
Thread Starter
Addicted Member
selecting items from a listbox
ok, u usually select an item from a listbox through a mouse-rightclick
Select = just click on it and it turns highlighted
i want to select an item with left click, is it possible?
Thanks v much for the help =D
-
Jul 2nd, 2007, 07:19 AM
#2
Member
Re: selecting items from a listbox
I hope this is helpful. I am also working with listboxes at the moment and I cannot select items with a right click only with a left click. So I think it is possible to select an item from a listbox with a left click on your mouse.
-
Jul 2nd, 2007, 07:46 AM
#3
Hyperactive Member
Re: selecting items from a listbox
 Originally Posted by Zapper
ok, u usually select an item from a listbox through a mouse-rightclick
Select = just click on it and it turns highlighted
i want to select an item with left click, is it possible?
Thanks v much for the help =D
believe you got your right and left mixed up. ( L | R )
-
Jul 2nd, 2007, 10:54 PM
#4
Thread Starter
Addicted Member
Re: selecting items from a listbox
yea i did get it mixed up, so now, how to select using left click?
-
Jul 3rd, 2007, 01:09 AM
#5
Member
Re: selecting items from a listbox
Hi
I've set my selectionmode for the listbox to multiselect. So I just click on a few items, using the left mouse button and the selected items gets highlighted. Do you by any chance know how to add the selected items to a database(Access) table?
-
Jul 3rd, 2007, 01:25 AM
#6
Re: selecting items from a listbox
I think you may be dyslexic as it looks like you've still got them mixed up. You normally select with a LEFT click. If you want to select with a RIGHT click the do as follows:
Handle the MouseClick event.
Determine which button was clicked and where from the 'e' parameter.
Call the IndexFromPoint method to get the index of the item that was clicked.
Call the SetSelected method to select the item at that index.
-
Jul 3rd, 2007, 01:38 AM
#7
Member
Re: selecting items from a listbox
I really don't need you to insult me, I'm telling you what's happening when I click left. Okay, now I can't seem to select anything when I right click items in the listbox and I can definitely destinguish between (L | R) for your info. If you can't seem to believe that, it's your problem. I'm quite happy with selecting items with the left click and so is my manager, He knows the language and if there was something wrong with selecting items with a left click I'm sure he would've told me. In the future I'll ask him for help. At least he doesn't judge people, and nothing gives you the right to judge either.
-
Jul 3rd, 2007, 01:42 AM
#8
Re: selecting items from a listbox
He was talking to Zapper i believe.
-
Jul 3rd, 2007, 01:45 AM
#9
Member
Re: selecting items from a listbox
Sorry just got a little upset.
-
Jul 3rd, 2007, 02:33 AM
#10
Re: selecting items from a listbox
I was talking to Zapper. Sorry, should have quoted this:
 Originally Posted by Zapper
yea i did get it mixed up, so now, how to select using left click?
An admission that the first question was the wrong way around and then a repeat of the same question. Should have also included a .
-
Jul 3rd, 2007, 02:40 AM
#11
Member
Re: selecting items from a listbox
That's ok, I was just confused and felt a little anger when I saw the word
"dyslexic".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|