mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 07:00:32 +02:00
EditButton: implement CheckCursor.
git-svn-id: trunk@44716 -
This commit is contained in:
parent
a3373895f0
commit
438d4e26ca
@ -203,6 +203,7 @@ type
|
|||||||
procedure EditStartDrag(var DragObject: TDragObject);
|
procedure EditStartDrag(var DragObject: TDragObject);
|
||||||
|
|
||||||
|
|
||||||
|
procedure CheckCursor;
|
||||||
function EditCanModify: Boolean; virtual;
|
function EditCanModify: Boolean; virtual;
|
||||||
procedure GetSel(out _SelStart: Integer; out _SelStop: Integer);
|
procedure GetSel(out _SelStart: Integer; out _SelStop: Integer);
|
||||||
procedure SetSel(const _SelStart: Integer; _SelStop: Integer);
|
procedure SetSel(const _SelStart: Integer; _SelStop: Integer);
|
||||||
@ -1468,6 +1469,11 @@ begin
|
|||||||
if Assigned(FOnEditStartDrag) then FOnEditStartDrag(Self, DragObject);
|
if Assigned(FOnEditStartDrag) then FOnEditStartDrag(Self, DragObject);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TCustomEditButton.CheckCursor;
|
||||||
|
begin
|
||||||
|
FEdit.CheckCursor;
|
||||||
|
end;
|
||||||
|
|
||||||
function TCustomEditButton.EditCanModify: Boolean;
|
function TCustomEditButton.EditCanModify: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := FEdit.EditCanModify;
|
Result := FEdit.EditCanModify;
|
||||||
|
Loading…
Reference in New Issue
Block a user