Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.03.03;
Скачать: 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 вся ветка

Текущий архив: 2003.03.03;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.039 c
8-5673
Карлсон
2002-11-16 14:33
2003.03.03
WDirectX


14-5847
xoxol
2003-02-11 06:27
2003.03.03
FORMAT C:


4-5929
cult
2003-01-15 17:20
2003.03.03
enumchildwindows


6-5696
MARcoDEN
2003-01-12 12:31
2003.03.03
WinInet + проверка новой версии через Инет


1-5484
T{}r(l-l
2003-02-20 15:13
2003.03.03
Проблема наследия