Autor Beitrag
yellomb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21


D6
BeitragVerfasst: Mi 25.05.05 15:19 
Hallo Leute,
ich öffne mit Linksklick auf einen Speedbutton ein Popupmenu an der Position des Speedbuttons, dummerweise bleibt der Button zum schluß down, hat jemand ne Ahnung woran das liegt und wie ich ihn wieder hoch bekomme?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
procedure TForm1.SpeedButton1MouseUp(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
  var p:TPoint;
begin
   If Button=mbleft
 then
  begin
   p:=TSpeedButton(Sender).ClientToScreen(Point(x,y));
   pmNeu.Popup(p.x,p.y);
end;
end;


Moderiert von user profile iconGausi: Code- durch Delphi-Tags ersetzt.
yellomb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21


D6
BeitragVerfasst: Mi 25.05.05 16:34 
Hat sich erledigt, der GroupIndex war falsch.