ListBox, ComboBox and SpinEdit
Answers are for parents and teachers.
1
Uzum costs 20000 so‘m/kg. What is the total for 3 kg of Uzum and 1 kg of Olma (12000)?
72000
2
If 6 items are moved from a list of 15, how many remain?
9
3
After for i := 1 to 9 do ListBox1.Items.Add(IntToStr(i)); what is Items[4]?
5
4
Write two statements that set the smallest value of SpinEdit1 to 1 and the largest to 10.
SpinEdit1.MinValue := 1; SpinEdit1.MaxValue := 10;
5
Why is it useful to set MinValue and MaxValue on a SpinEdit?
The user cannot enter a number outside the allowed range, so there are fewer mistakes.