Your right tnx, I overlooked these lines in the manual under 'button' (incase someone else wants to know it):

Quote:
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.