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
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