mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 09:32:41 +02:00
IDE: object inspector: show error if integer out of range
git-svn-id: trunk@45620 -
This commit is contained in:
parent
bf29568adb
commit
e09f10816f
@ -27,8 +27,8 @@ unit PropEdits;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, TypInfo, SysUtils, types, Forms, Controls, LCLProc, GraphType,
|
||||
FPCAdds, // for StrToQWord in older fpc versions
|
||||
Classes, TypInfo, SysUtils, types, RtlConsts, Forms, Controls, LCLProc,
|
||||
GraphType, FPCAdds, // for StrToQWord in older fpc versions
|
||||
StringHashList, ButtonPanel, Graphics, StdCtrls, Buttons, Menus, LCLType,
|
||||
ExtCtrls, ComCtrls, LCLIntf, Dialogs, EditBtn, PropertyStorage, Grids, ValEdit,
|
||||
FileUtil, FileCtrl, ObjInspStrConsts, PropEditUtils,
|
||||
@ -3110,8 +3110,7 @@ procedure TIntegerPropertyEditor.SetValue(const NewValue: AnsiString);
|
||||
|
||||
procedure Error(const Args: array of const);
|
||||
begin
|
||||
// XXX
|
||||
{raise EPropertyError.CreateResFmt(@SOutOfRange, Args);}
|
||||
raise EPropertyError.CreateResFmt(@SOutOfRange, Args);
|
||||
end;
|
||||
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user