EditButton: implement CheckCursor.

git-svn-id: trunk@44716 -
This commit is contained in:
bart 2014-04-13 11:47:02 +00:00
parent a3373895f0
commit 438d4e26ca

View File

@ -203,6 +203,7 @@ type
procedure EditStartDrag(var DragObject: TDragObject);
procedure CheckCursor;
function EditCanModify: Boolean; virtual;
procedure GetSel(out _SelStart: Integer; out _SelStop: Integer);
procedure SetSel(const _SelStart: Integer; _SelStop: Integer);
@ -1468,6 +1469,11 @@ begin
if Assigned(FOnEditStartDrag) then FOnEditStartDrag(Self, DragObject);
end;
procedure TCustomEditButton.CheckCursor;
begin
FEdit.CheckCursor;
end;
function TCustomEditButton.EditCanModify: Boolean;
begin
Result := FEdit.EditCanModify;