agraham Expert Licensed User Longtime User May 19, 2012 #21 Basic4ppc "fills in" all your event variables with a reference to its event handler that handles events from external libraries. This handler is of type EventHandler and so that is what your event variables must be declared as Code: public event EventHandler Click; private object[] eventObject; public event EventHandler MouseDown; private object[] eventObject1; public event MouseUp; private object[] eventObject2; Might be as well to check all your other event declarations in the other buttons as well.
Basic4ppc "fills in" all your event variables with a reference to its event handler that handles events from external libraries. This handler is of type EventHandler and so that is what your event variables must be declared as Code: public event EventHandler Click; private object[] eventObject; public event EventHandler MouseDown; private object[] eventObject1; public event MouseUp; private object[] eventObject2; Might be as well to check all your other event declarations in the other buttons as well.
derez Expert Licensed User Longtime User May 19, 2012 #23 Version 1.7 corrected the mousedown and mouseup events for all buttons.
I ionutojica Banned May 22, 2012 #24 Thank you! This is quick... very quick. Incredibly quick... and it works. A simply question: is it possible, for the transparent part of the buttons, not to draw anything? Actual there is the background (color or image) drawn... Last edited: May 29, 2012
Thank you! This is quick... very quick. Incredibly quick... and it works. A simply question: is it possible, for the transparent part of the buttons, not to draw anything? Actual there is the background (color or image) drawn...