>i know this method, but what i want to do is use coding method to declare a object event~!
There's no way to add a new event to the native VFP controls; if you decided that you needed a double-click event, you'd either have to code a subclass to handle the dobleclick via the known click event (maybe the first click fires a timer, and if a second click occurred while the timer was running, have seaparate code for doubleclick handling) or use something like an OptionButton or shape to emulate the commandbutton behavor, which has a doubleclick event native to it.