Autor Beitrag
ProggyPeter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33



BeitragVerfasst: Fr 04.03.11 23:49 
Ich möchte innerhalb eines Stringgrids (TADVStringgrid) einzelne Zeilen per Drag und Drop verschieben.
Dabei möchte ich als Dragcursor den (gekürzten) Inhalt der Dragzeile als Cursor anzeigen.
Etwa so wie es in Windows 7 der Explorer macht.
Mir fallen da von Haus aus nur 2 etwas umständliche Lösugen ein.
1. Den Zeileninhalt als Bitmap speichern und dann als Cursor zuweisen.
2. Ein Hintfeld (oder Balloon-Hint) anzeigen und mit MouseMove verschieben.

Im Fall 2 ist ein Balloonhint manchmal etwas störrisch. (Flakern beim Verschieben, kurzes Verschwinden u.s.w.)
Gibt es noch eine weitere, evenduell einfachere Möglichkeit?

Gruß
Hans
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 05.03.11 01:20 
selbst zeichnen. ich bin mir ziemlich sicher das firefox das selbst zeichnet.

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 05.03.11 06:42 

Für diesen Beitrag haben gedankt: bummi