I would like a button to change a label between being visible and not visible when clicked. I Tried the following code, but it doesnt work:
Var:
Hidden : Boolean;
Begin
If Hidden = True
Then
Begin
Label6.Visible := True;
Hidden := False;
End;
If Hidden = False
Then
Begin
Label6.Visible := False;
Hidden := True;
End;
It compiles, but doesn't work!