Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Control ermitteln, für das das Hint dargestellt wird. (https://www.delphipraxis.net/65334-control-ermitteln-fuer-das-das-hint-dargestellt-wird.html)

sh17 15. Mär 2006 12:10


Control ermitteln, für das das Hint dargestellt wird.
 
Ich hab eine eigene THintWindow-Klasse entwickelt.

Nun möchte ich gerne, wenn das Hint zu einem SpeedButton angezeigt wird, die Grafik im Speedbutton ins Hint zeichnen.

Ich brauch also eine Referenz auf den Speedbutton aus der Hintklasse heraus.

Wie geht das?

marabu 15. Mär 2006 13:23

Re: Control ermitteln, für das das Hint dargestellt wird.
 
Hallo Sven,

im Ereignis OnShowHint() der Application wird das Control als HintInfo.HintControl übermittelt. Vielleicht kannst du damit etwas anfangen?

Grüße vom marabu


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:24 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 by Thomas Breitkreuz