Mouse event in Public function

IfButOnly

Registered User.
Local time
Tomorrow, 02:50
Joined
Sep 3, 2002
Messages
236
I am knocking up a Golf Score db for myself and have a number of text fields which behave the same way (eg Score for each hole). I want to be able to left click on the mouse to decrease the value and right click to increase.

This works okay if I have a different event procedure for each item but I want to use a common function and identify the particular hole via the screen.ActiveControl method.

When I try this I get a problem with 'wrong number of arguments' - I assume this is to do with the variables passed by the MouseUp event. I have fiddled around with this, check the Help file and done various searches here, but as I can't find a solution I suspect my terminology is off.

Would appreciate any help - thanks in advance.

Peter
 
Oldsoftboss said:
Maybe paste the code and we may be able to help

I've opted for another approach so I won't worry about it for now. Thanks for your interest though.

Peter
 

Users who are viewing this thread

Back
Top Bottom