Вниз
Скачать: CL | DM;

dbgViewMouseUp   Найти похожие ветки 

← →
Антон.   (2003-02-21 10:37) [0]

procedure TfPrice_list.dbgViewMouseUp(Sender: TObject;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
inherited;
if Button=mbRight then
PM.Popup(X,Y);
end;
странные координаты возвращаются в X и Y приходится писать что то типа PM.Popup(X+60,Y+60); чтобы менюшка появлялась над курсором мыши


← →
Clickmaker ©   (2003-02-21 11:14) [1]

procedure TfPrice_list.dbgViewMouseUp(Sender: TObject;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
var
PopupPos: TPoint;
begin
inherited;
if Button=mbRight then begin
PopupPos := TWinControl(Sender).ClientToScreen(Point(X, Y));
PM.Popup(PopupPos.X, PopupPos.Y);
end;
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.01 c
1-5483
ych_boriss
2003-02-20 15:25
2003.03.03
TMemoryStream. Адресное пространство TMemoryStream.Memory


3-5456
alexander_ua
2003-02-11 18:27
2003.03.03
Редактирование с помощью SQL


1-5501
[HDD]John
2003-02-19 13:14
2003.03.03
ShowMessage


1-5561
Nehto
2003-02-21 16:25
2003.03.03
Svoistvo color


1-5506
ALEX SLATER
2003-02-20 16:50
2003.03.03
Поиск в Excel




   Наверх