Allows to show or hide the control, and all of its children....Visible is set to True by Show, or to False by Hide. Calling these methods is equivalent to setting the Visible property.
Did you try ;edit1.Visible := not edit1.Visible;