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 TPopupMenu.Popup aber kein markiertes Item... (https://www.delphipraxis.net/53690-tpopupmenu-popup-aber-kein-markiertes-item.html)

Kedariodakon 21. Sep 2005 13:23


TPopupMenu.Popup aber kein markiertes Item...
 
Liste der Anhänge anzeigen (Anzahl: 2)
So mal ganz einfach erklärt, ich habe ein TPopupMenu welches ich mit
Delphi-Quellcode:
{ pp: TPopupMenu }
pp.Popup( Mouse.CursorPos.X - 10, Mouse.CursorPos.Y - 10 );
bei einem Buttonklick aufrufe, somit steht der Mauszeiger auf dem ersten Object im Popup, Aber das erste Item wird nicht markiert...

So wie bekomme ich das hin, das bei diesem Aufruf automatisch dann das erste Popup markiert ist?
Hat da jemand eine Idee?

Hab da mal eine Beispielanendung + Source angehangen, damit man das besser versteht =)


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:54 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz