search for: oncmdswitch

Displaying 1 result from an estimated 1 matches for "oncmdswitch".

2006 Apr 18
1
FXSwitcher message problem
Hi, I use @mySwitcher.setCurrent( index ) and have a method connected to my FXSwitcher object: @mySwitcher.connect(SEL_COMMAND, method(:onCmdSwitch)) I would expect that onCmdSwitch(sender, sel, index) would receive the new index as third parameter. At least it should according to the fxruby documentation: "SEL_COMMAND: sent whenever the current (topmost) child window changes; the message data is an integer indicating the new current wi...