[fxruby-users] shift key

Björn Bergqvist bjorn.bergqvist at gmail.com
Fri Dec 9 05:31:31 EST 2005


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))

def myfunc(sender, sel, ptr)
   do something
end

It doesn't work. Any suggestions? Another approach?

Regards
Bjorn Bergqvist



More information about the fxruby-users mailing list