>how to add a function or some coding into a object.event?!
>say, i want to run the command messagebox("test",0,"test")
>when the command1.click happen~!
>how to add into it by using coding~?
Wai Wai,
What you need to do is define your button as a class of type commandbutton. Then, within that class, you are able to define all the properties, events, and methods for your commandbutton class.
DEFINE CLASS myButton1 AS COMMANDBUTTON
&& DEFINE EVENTS HERE
ENDDEFINE
Paul A. Busbey
I.S. Department
Sparagowski & Associates
Paul A. Busbey
Victoria Insurance