Autor Beitrag
delphinia
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 131

XP Pro Sp2
Delphi 5 Standard
BeitragVerfasst: Mi 27.12.06 01:37 
Hallo,

Ein Label in meinem Programm - erhält einen Text.
Nun soll - wenn der Text - einen bestimmten Wert hat - der Hint angezeigt werden OHNE das ich dafür extra mit der Maus über das Label gehen muss - nur wie?

_________________
Gruss Doreen
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: Mi 27.12.06 02:09 
Du kannst Application.ActivateHint benutzen. Als Parameter bekommt die Methode die Position, an der das passieren soll. Die Methode sieht dann nach, welches Control sich dort befindet und zeigt den entsprechendne Hint an.