S
stefan hoffmann
hi,
I'd like to put that piece of code mentioned in Q210207
(http://support.microsoft.com/?kbid=210207) into a public function, call
it FormDisableCRLF, and use it as an event call.
Normally the event procedure called has a signature of (KeyCode As
Integer, Shift As Integer). My function has the same signature.
But the remaining question is how to pass the event values (KeyCode,
Shift) to my function call (=FormDisableCRLF([KeyCode];[Shift]) in the
OnKeyDown event)?
Help is welcome.
--> stefan <--
I'd like to put that piece of code mentioned in Q210207
(http://support.microsoft.com/?kbid=210207) into a public function, call
it FormDisableCRLF, and use it as an event call.
Normally the event procedure called has a signature of (KeyCode As
Integer, Shift As Integer). My function has the same signature.
But the remaining question is how to pass the event values (KeyCode,
Shift) to my function call (=FormDisableCRLF([KeyCode];[Shift]) in the
OnKeyDown event)?
Help is welcome.
--> stefan <--