September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -28,18 +28,19 @@ implementation
|
|||
{$R *.dfm}
|
||||
|
||||
procedure TForm1.EditInputFieldChange(Sender: TObject);
|
||||
Var
|
||||
Value: Integer;
|
||||
begin
|
||||
TRY
|
||||
StrToInt(EditInputField.Text);
|
||||
EXCEPT
|
||||
ShowMessage('Error! The Input Value is not numeric!');
|
||||
if not TryStrToInt(EditInputField.Text, value) then
|
||||
begin
|
||||
ShowMessage('Error! The Input Value is not numeric!');
|
||||
EditInputField.Text := '0';
|
||||
END;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TForm1.ButtonIncrementClick(Sender: TObject);
|
||||
begin
|
||||
EditInputField.text := IntToStr(StrToInt(EditInputField.Text) + 1);
|
||||
EditInputField.text := IntToStr (StrToInt(EditInputField.Text) + 1);
|
||||
end;
|
||||
|
||||
procedure TForm1.ButtonRandomClick(Sender: TObject);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue