Kod: Tümünü seç
if ( button=mbleft) and ( button=mbright) then showmessage('çift tıklama yapıldı')
Kod: Tümünü seç
private
procedure WMNCLBUTTONDBLCLK(var msg: TMessage); message WM_NCLBUTTONDBLCLK; { Private declarations }
procedure TForm1.WMNCLBUTTONDBLCLK(var msg: TMessage);
begin
if msg.wParam = HTCAPTION then Caption := 'Double Click!';
// Message.Result := 0; {to ignore the message}
inherited;
end;