mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 16:48:27 +02:00
LCL: restore TCustomEdit.GetTextHint deleted in r63730 #32e975d46c
git-svn-id: trunk@63907 -
This commit is contained in:
parent
394d08328e
commit
2031a4a842
@ -120,6 +120,11 @@ begin
|
||||
Result := UTF8Copy(Text, SelStart + 1, SelLength)
|
||||
end;
|
||||
|
||||
function TCustomEdit.GetTextHint: TTranslateString;
|
||||
begin
|
||||
Result := FTextHint;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Setter for CaretPos
|
||||
|
||||
|
@ -803,6 +803,7 @@ type
|
||||
function GetSelLength: integer; virtual;
|
||||
function GetSelStart: integer; virtual;
|
||||
function GetSelText: string; virtual;
|
||||
function GetTextHint: TTranslateString; virtual;
|
||||
procedure SetCaretPos(const Value: TPoint); virtual;
|
||||
procedure SetCharCase(Value: TEditCharCase); virtual;
|
||||
procedure SetEchoMode(Val: TEchoMode); virtual;
|
||||
@ -866,7 +867,7 @@ type
|
||||
property TabOrder;
|
||||
property TabStop default true;
|
||||
property Text;
|
||||
property TextHint: TTranslateString read FTextHint write SetTextHint;
|
||||
property TextHint: TTranslateString read GetTextHint write SetTextHint;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user