troubleshooting Question

KeyDown event handler not working

Avatar of Alpha_AI
Alpha_AI asked on
DelphiPascal
11 Comments2 Solutions447 ViewsLast Modified:
Why am I getting this error?

Declaration of 'RichEdit3KeyDown' differs from previous declaration
and
Unsatisfied forward or external declaration 'TForm1.RichEdit3KeyDown

Its weird, all im trying to is put code in the RIchEdit3Keydown method handler

One thing I have noticed though is the procedure is always wordwrapped

so instead of

procedure TForm1.Edit28KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);

it appears like this instead

procedure TForm1.Edit28KeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);

might that make a difference?

Ben
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros