Hallo,
wie kann ich zu einer Tchecklistbox das Ereignis OnMouseOver hinzufügen?
Muß ich dazu eine neue, von TChecklistbox abgeleitete, Komponente erstellen?
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29:
| unit ExtendedCheckListBox;
interface
uses SysUtils, Classes, Controls, StdCtrls, CheckLst;
type TExtendedCheckListBox = class(TCheckListBox) private protected public published end;
procedure Register;
implementation
procedure Register; begin RegisterComponents('Samples', [TExtendedCheckListBox]); end;
end. |
Falls ja: wie füge ich zu dieser, das Ereignis dazu?
Danke,
winx