Visible and Enabled
Answers are for parents and teachers.
1
The window grows from 300 by +30 per click; the button is disabled when the width reaches 480. After how many clicks?
6
2
If a button is switched 9 times (Visible = True at the start), what is the state?
Hidden (False)
3
Out of seven buttons two are hidden and three are greyed out. How many are ready to be pressed?
2
4
Write two statements that make Button3 invisible and Button2 greyed out.
Button3.Visible := False; Button2.Enabled := False;
5
Why do Enabled and Visible differ? Explain with one example.
Visible is about showing, Enabled about working; a greyed button is visible but cannot be pressed.