mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 09:59:23 +02:00
MG: double, triple and quad clicks now works
git-svn-id: trunk@3271 -
This commit is contained in:
parent
a168428731
commit
a670440d50
@ -73,7 +73,6 @@ Type
|
|||||||
public
|
public
|
||||||
constructor Create(AOwner: TComponent); override;
|
constructor Create(AOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
|
|
||||||
published
|
published
|
||||||
Property Date : String read GetDate write SetDate;
|
Property Date : String read GetDate write SetDate;
|
||||||
property DisplaySettings : TDisplaySettings read GetDisplaySettings write SetDisplaySettings;
|
property DisplaySettings : TDisplaySettings read GetDisplaySettings write SetDisplaySettings;
|
||||||
@ -100,7 +99,7 @@ begin
|
|||||||
SetBounds(0,0,250,150);
|
SetBounds(0,0,250,150);
|
||||||
fDisplaySettings := [dsShowHeadings, dsShowDayNames];
|
fDisplaySettings := [dsShowHeadings, dsShowDayNames];
|
||||||
Date := FormatDateTime('dd-mm-yyyy',Now);
|
Date := FormatDateTime('dd-mm-yyyy',Now);
|
||||||
ControlStyle:=ControlStyle-[csDoubleClicks]
|
ControlStyle:=ControlStyle-csMultiClicks-[csAcceptsControls];
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TCalendar.Destroy;
|
destructor TCalendar.Destroy;
|
||||||
|
@ -34,7 +34,7 @@ end;
|
|||||||
constructor TButtonControl.Create(AOwner: TComponent);
|
constructor TButtonControl.Create(AOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
inherited Create(AOwner);
|
inherited Create(AOwner);
|
||||||
ControlStyle:=ControlStyle-[csDoubleClicks,csTripleClicks,csAcceptsControls];
|
ControlStyle:=ControlStyle-csMultiClicks-[csAcceptsControls];
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// included by stdctrls.pp
|
// included by stdctrls.pp
|
||||||
|
@ -324,12 +324,14 @@ const
|
|||||||
LM_YEARCHANGED = LM_USER+66;
|
LM_YEARCHANGED = LM_USER+66;
|
||||||
LM_DAYCHANGED = LM_USER+67;
|
LM_DAYCHANGED = LM_USER+67;
|
||||||
|
|
||||||
|
LM_MOUSEFIRST2 = LM_USER+68;
|
||||||
LM_LBUTTONTRIPLECLK = LM_USER+68;
|
LM_LBUTTONTRIPLECLK = LM_USER+68;
|
||||||
LM_LBUTTONQUADCLK = LM_USER+69;
|
LM_LBUTTONQUADCLK = LM_USER+69;
|
||||||
LM_MBUTTONTRIPLECLK = LM_USER+70;
|
LM_MBUTTONTRIPLECLK = LM_USER+70;
|
||||||
LM_MBUTTONQUADCLK = LM_USER+71;
|
LM_MBUTTONQUADCLK = LM_USER+71;
|
||||||
LM_RBUTTONTRIPLECLK = LM_USER+72;
|
LM_RBUTTONTRIPLECLK = LM_USER+72;
|
||||||
LM_RBUTTONQUADCLK = LM_USER+73;
|
LM_RBUTTONQUADCLK = LM_USER+73;
|
||||||
|
LM_MOUSELAST2 = LM_RBUTTONQUADCLK;
|
||||||
|
|
||||||
LM_INTERFACEFIRST = LM_User+99;
|
LM_INTERFACEFIRST = LM_User+99;
|
||||||
LM_INTERFACELAST = LM_User+199;
|
LM_INTERFACELAST = LM_User+199;
|
||||||
@ -843,6 +845,9 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.29 2002/09/01 16:11:21 lazarus
|
||||||
|
MG: double, triple and quad clicks now works
|
||||||
|
|
||||||
Revision 1.28 2002/08/28 09:40:48 lazarus
|
Revision 1.28 2002/08/28 09:40:48 lazarus
|
||||||
MG: reduced paint messages and DC getting/releasing
|
MG: reduced paint messages and DC getting/releasing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user