Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- protected
- procedure Paint; override;
- // move the method to the protected block, modify its prototype, and add override
- procedure MouseMove(Shift: TShiftState; X, Y: Integer); override;
- public
- ...
- implementation
- procedure TOC_MenuPanel.MouseMove(Shift: TShiftState; X, Y: Integer);
- begin
- // if you don't want to lose original mouse moving functionality, call inherited
- inherited;
- ...
- end;
Advertisement
Add Comment
Please, Sign In to add comment