I want to make a program that would show the text when I pressed the button and hide it when I pressed it again. What is the error?
procedure TForm1.Button1Click(Sender: TObject); if Memo1.Visible then begin Memo1.Visible:=False end else begin Memo1.Visible:=True end.