Autor Beitrag
Tobias1
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 454

Win 98, XP Prof
D3 Prof, D2005 Prof
BeitragVerfasst: Mi 26.01.05 17:22 
Wie erstelle ich ein Menü-Eintrag in einem vorhandenem Menü während der Laufzeit :?:

Vielen Dank im Vorraus :!:

_________________
Auch das schlechteste Buch hat seine gute Seite: die letzte. (John Osborne)
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Mi 26.01.05 17:29 
Forensuche verwenden :roll:

AXMD
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Mi 26.01.05 18:57 
hi,

ich will mal ne antwort geben :P
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
var
  LItem: TMenuitem;
begin
  ..
  LItem := DeinMenu.item.add;
  LItem.Caption := 'Hallo';
  // LItem.OnClick := deineMethode;
end;


Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.
Tobias1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 454

Win 98, XP Prof
D3 Prof, D2005 Prof
BeitragVerfasst: Mi 02.02.05 18:17 
Danke!

Und wie funktioniert das mit einem PopupMenu, ich hab schon alles mögliche ausprobiert.

_________________
Auch das schlechteste Buch hat seine gute Seite: die letzte. (John Osborne)
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Mi 02.02.05 21:25 
neue frage neuer thread :)

_________________
si tacuisses, philosophus mansisses.