The panel pan_setbutton allows to assign functions to button events. But it is a EventVoid, when in-fact the manual states:
"Several buttons may share the same function. The number of the button is passed as the first parameter to the function (1 = first button), the panel pointer is passed as the second parameter. "
Can you change it to an EventObject? EventVar?
Last edited by Michael_Schwarz; 02/28/1220:24.
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku