Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi PopupMenu.Items in ein anderes einfügen (https://www.delphipraxis.net/91138-popupmenu-items-ein-anderes-einfuegen.html)

ebber 30. Apr 2007 10:03


PopupMenu.Items in ein anderes einfügen
 
Hallo

ich will ein Popupmenu auf einer Form in das einer anderen Form einfügen. Würde das gehen, dass dann auch die verlinkten funktionen auf der Form bleiben und nicht auf die andere Form wechseln ?

Ich habe das jetzt so versucht

Delphi-Quellcode:

Form1.MainTrayPopupM.Items.Insert(0,Popupmenu1.Items);
Das Problem ist jetzt aber das es in dem MainTrayPopupM ein Untermenü erstellt, mit einem leeren Namen, und dort die Items hinzufügt.

MfG


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:22 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