On Friday 09 December 2005 04:31 am, Bj?rn Bergqvist
wrote:> Hello,
> I want to select multiple objects when I press the shift-button.
> Tried to do it with:
>
> hotKey = fxparseAccel("Shift")
> accelTable.addAccel(hotKey, doc, FXSEL(SEL_COMMAND, :myfunc))
Shift, Alt, and Control are modifier keys. They''re usually not
used by themselves.
More likely, you want to just trap the left mouse button and determine
between click or shift-click by looking at event.state which contains
the modifier mask.
- Jeroen