Page 78 - Open Soource Technologies 304.indd
P. 78
Event Driven Programming
3.8 Keywords
CheckBoxes: The CheckBoxes are those controls which gives us an option to select, say, Yes/No
or True/False.
ComboBox: The ComboBox displays an editing field (TextBox) combined with a ListBox allowing
us to select from the list or to enter new text. It displays data in a drop-down style format.
Command Button: The Command Button is used to make an action happen e.g. process the inputs
that have been entered onto a Form and then show the output.
Control: A control is an object that can be drawn on to the Form to enable or enhance user
interaction with the application.
GroupBox: The GroupBox displays a frame around a group of controls with or without a caption.
Labels: Labels are those controls that are used to display text in other parts of the application.
ListBox: The ListBox control displays a list of items from which we can make a selection.
LinkLabel: A LinkLabel is similar to a Label but they display a hyperlink.
PictureBoxes: The PictureBoxes are used to display images on them.
Project explorer window: A project explorer window gives you a tree-structured view of all the files
inserted into the application.
TextBox Control: This control looks like a box and accepts input from the user.
Tool Box: It contains the control you placed on the form window.
User interface: A user interface provides a mechanism for end users to interact with the application.
1. How do I create multi-column combo box?
2. Create a label named lblAKA and containing the centered italicized word
“ALIAS”.
3. Create a label containing VISUAL on the first line and BASIC on the
second line. Each word should be right justified.
3.9 Self Assessment Questions
1. If a TextBox’s Enabled property is False, then
(a) The text in the box will be grayed, and the user won’t be able to set focus to the
TextBox.
(b) The text in the box will be grayed, the user can still set focus to the TextBox, but the
User won’t be able to make changes to the text.
(c) The text in the box will be grayed, and the user can still make changes to the text.
(d) The text in the box will appear normal, the user can set focus to the TextBox, but the
user can’t make any changes.
72 LOVELY PROFESSIONAL UNIVERSITY