What is the code in adding numbers in Lazarus(TForm.addclick)?

0 votes
asked by about Lazarus
edited by

1 Answer

0 votes
No avatar answered by (193k points)

procedure TForm.AddClick(Sender: TObject);
begin
  IF InputQuery('Input-Add','File: ',Value) Then
  Begin
       IF Value<>'' Then ListBox1.Items.Add(Value);
  End;

end; 

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...