Page 83 - TCS ICT Book 8
P. 83
The City School 2021-2022
Textbox
It is used to accept textual input from the user. The user can add strings, numerical
values and a combination of those.
Combo Box Developing Applications
It is similar to the list but it works as a dropdown for the user. A user can click on the
downwards aero on the right side and select any item
DateTime Picker
This control allows the user pick the date and time via a Calendar and a clock.
4.6. Variables 4 2.5
A variable is nothing but a name given
to a storage area that our programs can
manipulate.
A variable is a container of data in a computer’s
memory where the computer stores the “hello” “a”
different types of data and this could be
numeric or text. To create and access these
Variable (data containers) we name them so
we can call them in our program where it is
necessary.
Public and Private Variables
var a=1 Public variable
Public variables are variables that are accessible to
the whole program. Private variables are variables
that are accessible only to a certain part of the var b=2 Private variable
program or code.
83

