Hello, 
I would like to know how to select an element of a list field using the right click.
Is it possible?
I didn't see any option for that.
May be i could use the messages "mouseUp" or "mouseDown" with button index 3 but in that case, how can i find the item under the mouse location?
Is there a mean to get the item under the mouse pointer?
Regards.
			
			
									
									
						Using right-click to select an element in a "list" field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
- 
				Pierre1234
- Posts: 3
- Joined: Sat Jun 06, 2015 10:53 pm
- 
				Pierre1234
- Posts: 3
- Joined: Sat Jun 06, 2015 10:53 pm
Re: Using right-click to select an element in a "list" field
Hello, 
I found it:
on mouseUp
set the hilitedLines of me to word 2 of the clickLine
end mouseUp
Generally, formulate a problem leads to its solution, thanks to the great function clickLine
			
			
									
									
						I found it:
on mouseUp
set the hilitedLines of me to word 2 of the clickLine
end mouseUp
Generally, formulate a problem leads to its solution, thanks to the great function clickLine

Re: Using right-click to select an element in a "list" field
Bonjour Pierre,
1. welcome to the forum! 
 
And not only this little function, everything actually! 
 
Best
Klaus
			
			
									
									
						1. welcome to the forum!
 
 2. Exactement!Pierre1234 wrote:Generally, formulate a problem leads to its solution, thanks to the great function clickLine
And not only this little function, everything actually!
 
 Best
Klaus