clearForm


procedure clearForm;

Removes all elements and commands from the form.

  var label_id, textField_id: integer;
  begin
    label_id := formAddString('Hello world');
    textField_id := formAddTextField('Enter your name', 'Mr.Smith', 20, TF_ANY);
    showForm;
    delay(2000);
    clearForm;
    delay(2000);
  end.

See also: showForm