Board index » delphi » D1: OnEnter & OnExit will not override
Erwin Dokter
![]() Delphi Developer |
Tue, 27 Feb 2001 03:00:00 GMT
D1: OnEnter & OnExit will not override
I am writing a component that needs to be able to recieve focus, so I
made it descendant of TCustomControl. So far so good... Delphi specifically states to do so if you need focus. It also states that TCustomControl (or rather tWinControl) contains the protected method for the OnEnter and OnExit events, which can (must) be overridden. protected procedure TSlider.Enter; The compiler starts nagging in the protected section already, with a if I remove the protected statement however, it start nagging in the Anyone have any ideas how to solve this, I am getting slightly -- Erwin Dokter |