How to pass events parameters to function called from tab of thecontrol property?

  • Thread starter Thread starter Andreas
  • Start date Start date
A

Andreas

Example:
Before Update event has a Cancel parameter.

How can I pass this to a function sitting in a module by calling the
function from the event property on the property sheet?

Many thanks,
Andreas
 
Hi,

Thanks for your reply.

Will try shortly but I can't see how I could use this with more than 1
parameter, say Keycode and Shift for the KeyDown event.

I want to call the function directly from the propert sheet, say
=basSomeFormKeyDownEvent.

When the function has finished running, evaluating both the Keycode and
Shift values it returns with the possibly changed Keycode value.

Any more thoughts?

Thanks again,
Andreas
 
Back
Top