Autor Beitrag
Fischman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Do 05.08.04 14:30 
Hallo Leute,
wie kann man das anstellen,wenn ich auf das Button drücke soll sich das Popupmenu öffnen.
Also nicht mit der rechten Maustaste.Wer kann mir da mal weiter helfen.

Gruß Uwe
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Do 05.08.04 14:35 
ausblenden Delphi-Quelltext
1:
PopUpMenu1.Popup					


dürfte dir weiterhelfen

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
Fischman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Do 05.08.04 14:50 
mit PopUpMenu1.Popup funktioniert das bei mir nicht so.Kommt hinter PopUpMenu1.PopUp nicht noch Integer,wenn ich mich nicht versehen habe.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Do 05.08.04 14:57 
Zitat:
Rufen Sie Popup zur Anzeige des Popup-Menüs auf. Das Menü wird an den Bildschirmkoordinaten eingeblendet, die in X und Y (in Pixeln) angegeben sind.


ausblenden Beispiel aus der OH
1:
2:
3:
4:
5:
procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);

begin
  PopupMenu1.Popup(X, Y);
end;

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
Fischman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Do 05.08.04 15:00 
Besten Dank.

Gruß Uwe
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Do 05.08.04 15:06 
etz kannst du noch dein Topic für erledigt erklären, und dann verirrt sich keiner mehr hierhin ;)

Stefan

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)