comp q3 test Flashcards
All the Visual Basic Controls can be moved,
resized or customized by setting their
properties.
Controls
is a value or characteristic held by a Visual Basic object,
such as Caption or Fore Color.
property
is a type of user interface
element you create on a Visual
Basic form by using a toolbox
control.
Object
Every Visual Basic control consists of
three important elements
-Properties
-Methods
-Events
which describe the object.
Properties
cause an object to do
something.
Methods
are what happens when an
object does something
Events
are very similar to Listbox Controls.
Combo Box
You
can add items and design time using the
List item in the Properties window.
Combo Box
One of the basic code in the Visual Basic is
Select and Case.
is use to execute some code if the condition is true
and another code if the condition is false.
If…Then…Else Statement
is use to select one of many blocks of code to be
executed.
If…ElseIf…Else Statement
-Let the user select or unselect an option.
-It allows the user to set true/false or yes/no.
-the user can deselect the checkbox.
-Allows the user to make a binary choice
between one of two possible mutually
exclusive options.
Checkbox
When the checkbox is selected, it has the value
TRUE
When the checkbox is cleared, it holds the value
FALSE