Hi Malcolm,
You can still put NODEFAULT after your custom code.
UPDATE - Can you pass a parameter from MouseDown ie. Click(.t.)
Then in Click():
LPARAMETERS llMDown
IF ! llMdown
NODEFAULT
ENDIF
>>PMFJI if you have no other code in the click event, you can put NODEFAULT there.
>
>Thanks for jumping in and welcome to this thread! I can't put a NODEFAULT in my Click() events because the Click() event what my MouseDown() event is currently calling when the left mouse button is held down. In other words, when a user holds down the left mouse button, I go into an auto-repeat loop calling whatever code would have normally been handled in the button's Click() event.
>
>I have a short term solution in place, but the need(?) for an auto-repeat capability begs for a subclass of a command button with auto-repeat capabilities for both mouse down and the Spacebar depressed and with options for initial delay before auto-repeat, auto-repeat throttle values (delay between repeats), and a set of acceleration constants that permit a depressed button to accelerate its rate of repeats the longer its held down.
>
>Thanks for everyone's help,
>
>Malcolm
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney