Professional Documents
Culture Documents
Corner Mckinley, Taft St. Zone 6, Bangued, Abra
Corner Mckinley, Taft St. Zone 6, Bangued, Abra
Module 2. Week 3
Lesson 2. Working on Object or Control Properties
Lesson Objectives
At the end of the lesson, you should be able to:
a. Identify Object or Control in Visual Basic.
b. Familiarize oneself with Visual Basic Objects or Controls.
c. Identify the function of each common Object or Controls in Visual Basic.
DAY 1 and 2
LET’S EXPLORE
Last time, we have discussed on how to develop a Visual Basic program. Now, we move on to working with
Objects and Controls.
Direction: Write A if you agree with the statement and D if you disagree.
___1. Name is the string value used to refer to the control in code.
___2. Left specifies the graphic to be displayed in the control.
___3. The prefix for Picture Clip is “pic”.
___4. The prefix for Command Button is “cmd”.
___5. Tag is a string containing extra data associate with the control.
LET’S EXPLAIN
For full discussion, read your book on page 87-92.
Object or Controls - it includes Label, Textbox, and Command Button controls that are used in nearly every
application.
Property - an attribute of an object that defines one of the object’s characteristics.
1. Appearance - specifies whether an object’s border appears flat or with a 3D look.
2. Align or Alignment - For controls displaying text and it specifies the alignment of the text.
3. BackColor - specifies the background color of the control
4. BorderStyle - specifies whether or not a control has a border.
5. Caption or Text - the string text that is to be displayed in the control
6. Enabled - determines whether or not the control can respond to user-generated events
7. Font - specifies the font to be applied in the displayed text
8. ForeColor - specifies the color of text or graphics to be displayed in the control.
9. Height - specifies the height of the control
10. Index - specifies the element number of a control if the control is a member of a control array.
11. Left - specifies the distance between the internal left edge of a control and the left edge of its container.
12. Name - the string value used to refer to the control in code
13. Picture - specifies the graphic to be displayed in the control.
14. TabIndex - specifies tab order of a control within its parent form
15. TabStop - specifies whether or not the user can use the Tab key to give focus to the control
16. Tag - a string containing extra data associated with the control
17. ToolTipText - specifies text to be displayed when the mouse is paused over the control
18. Top - specifies the distance between the internal top edge of a control and the top edge of its container.
19. Visible - specifies whether the control is visible or hidden
20. Width - specifies the width of the control
DAY 3
LET’S CREATE
In a separate sheet of bond paper, create a concept that involves the Objects or Controls Properties with their
functions. Refer to the rubric below:
Indicators 5 4 3 2 1
The design and content of the concept map is relevant to the given topic.
DAY 4
LET’S EVALUATE
Direction: Enumerate 10 properties of Object or Control and state its functions. Put your answers in the space below.
PARENT’S FEEDBACK
_______________________________________________________________________________________________
_______________________________________________________________________________________________
_______________________________________________________________________________________________
_______________________________________________________________________________________________
_______________________________________________________________________________________________
____________________________________________________.
________________________________
Signature Over Printed Name