mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-27 04:13:43 +02:00
added TMemo.SelLength negative check
git-svn-id: trunk@6700 -
This commit is contained in:
parent
a39f217b8f
commit
817395b4a9
@ -136,7 +136,8 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TCustomEdit.SetSelLength(Val : integer);
|
||||
begin
|
||||
FSelLength:= Val;
|
||||
if Val<0 then Val:=0;
|
||||
FSelLength := Val;
|
||||
if HandleAllocated then
|
||||
TWSCustomEditClass(WidgetSetClass).SetSelLength(Self, Val);
|
||||
end;
|
||||
@ -367,6 +368,9 @@ end;
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.37 2005/01/26 23:39:16 mattias
|
||||
added TMemo.SelLength negative check
|
||||
|
||||
Revision 1.36 2004/12/27 16:51:19 mattias
|
||||
implemented dialog to edit basic help db settings
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user