![]() |
TCustomControl mit DragDrop?
Es gibt die Prozedur TCustomControl.DragDrop(), aber alles weitere scheint zu fehlen oder ich finde es nur nicht?
Zum Beispiel bei TListBox muss man nur TListBox.DragMode := dmAutomatic setzen und TListBox.OnDragDrop und OnDragOver schreiben. Das gleiche Vorgehen geht aber nicht bei selbst abgeleiteten Klassen von TCustomControl. Wie implementiert man in einen TCustomControl-Descendant Drag-and-Drop-Operationen? (Delphi 6 Prof.) |
AW: TCustomControl mit DragDrop?
Darf ich meine Frage noch einmal stellen? Vielleicht gibt es ja inzwischen einen Teilnehmer, der eine Idee dazu hat.
|
AW: TCustomControl mit DragDrop?
TCustomControl>>TWinControl>>TControl
Die Properties sind hier schon vorhanden, nur Protected Du brauchst sie nur im published Bereich Deiner Komponenete erwähnen:
Delphi-Quellcode:
published
property OnDragOver; .... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:47 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz