Skip to content

Commit 13376c8

Browse files
author
César Cardoso
committed
Update C4D.Validate.Components.MinMaxValue.pas
1 parent 3ff20f1 commit 13376c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Src/C4D.Validate.Components.MinMaxValue.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ procedure MinMaxValue.Validar(const ARttiField: TRttiField; const AObject: TObje
6464
if(LValue < FMinValue)or((FMaxValue > 0)and(LValue > FMaxValue))then
6565
begin
6666
TC4DValidateComponentsComponents.SetFocu(LComponent);
67-
raise Exception.Create(Self.GetMsg + ARttiField.GetFieldDisplay);
67+
raise Exception.Create(ARttiField.FormatMsg(Self.GetMsg));
6868
end;
6969
end;
7070

0 commit comments

Comments
 (0)