Can i detect a right-click on a listbox item?
Posted: 14 Jan 2016, 01:17
I have several listboxes in a Gui. I would like the user to be able to see additional information about each item in the list by right-clicking the line.
Right-click does not seem to do anything to the selection, and it does not call my gSubroutine.
Is there a way I can get it to do something ?
Also, when I could not find a way to use right-click I thought perhaps I could settle for DoubleClick to ask for the information.
The documentation says that A_GuiEvent will contain "DoubleClick" when this happens.
I can't get that to work either... I've tried sleeping up to 500ms before examining A_GuiEvent, but it never seems to say anything but "Normal".
I've checked the mouse settings in control panel, and have no problem registering double-clicks in the little test window they show to help you adjust the double-click speed.
Any ideas?
Right-click does not seem to do anything to the selection, and it does not call my gSubroutine.
Is there a way I can get it to do something ?
Also, when I could not find a way to use right-click I thought perhaps I could settle for DoubleClick to ask for the information.
The documentation says that A_GuiEvent will contain "DoubleClick" when this happens.
I can't get that to work either... I've tried sleeping up to 500ms before examining A_GuiEvent, but it never seems to say anything but "Normal".
I've checked the mouse settings in control panel, and have no problem registering double-clicks in the little test window they show to help you adjust the double-click speed.
Any ideas?