LazMapViewer: Make TMapView respond to keyboard events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9700 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
f7d9f1cbd8
commit
7677def6cf
@ -781,6 +781,8 @@ type
|
|||||||
property POIImagesWidth: Integer read FPOIImagesWidth write SetPOIImagesWidth default 0;
|
property POIImagesWidth: Integer read FPOIImagesWidth write SetPOIImagesWidth default 0;
|
||||||
property POITextBgColor: TColor read FPOITextBgColor write SetPOITextBgColor default clNone;
|
property POITextBgColor: TColor read FPOITextBgColor write SetPOITextBgColor default clNone;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
|
property TabOrder;
|
||||||
|
property TabStop;
|
||||||
property TransparentMap: Boolean read FTransparentMap write SetTransparentMap default false;
|
property TransparentMap: Boolean read FTransparentMap write SetTransparentMap default false;
|
||||||
property UseThreads: boolean read GetUseThreads write SetUseThreads default true;
|
property UseThreads: boolean read GetUseThreads write SetUseThreads default true;
|
||||||
property Width default 150;
|
property Width default 150;
|
||||||
@ -805,6 +807,9 @@ type
|
|||||||
property OnDrawEditMark: TMapEditMarkDrawEvent read FEditMarkDrawEvent write FEditMarkDrawEvent;
|
property OnDrawEditMark: TMapEditMarkDrawEvent read FEditMarkDrawEvent write FEditMarkDrawEvent;
|
||||||
property OnZoomChange: TNotifyEvent read FOnZoomChange write FOnZoomChange;
|
property OnZoomChange: TNotifyEvent read FOnZoomChange write FOnZoomChange;
|
||||||
property OnZoomChanging: TZoomChangingEvent read FOnZoomChanging write FOnZoomChanging;
|
property OnZoomChanging: TZoomChangingEvent read FOnZoomChanging write FOnZoomChanging;
|
||||||
|
property OnKeyDown;
|
||||||
|
property OnKeyPress;
|
||||||
|
property OnKeyUp;
|
||||||
property OnMouseDown;
|
property OnMouseDown;
|
||||||
property OnMouseEnter;
|
property OnMouseEnter;
|
||||||
property OnMouseLeave;
|
property OnMouseLeave;
|
||||||
@ -3764,7 +3769,7 @@ var
|
|||||||
I: Integer;
|
I: Integer;
|
||||||
begin
|
begin
|
||||||
inherited Create(AOwner);
|
inherited Create(AOwner);
|
||||||
ControlStyle := ControlStyle + [csAcceptsControls];
|
ControlStyle := ControlStyle + [csAcceptsControls] - [csNoFocus];
|
||||||
|
|
||||||
Width := 150;
|
Width := 150;
|
||||||
Height := 150;
|
Height := 150;
|
||||||
|
Loading…
Reference in New Issue
Block a user