Lesson 2 is about statement
Step:
1. create command button on the form
click the command button, and set the properties:
name: cmd_msg
caption: click me
2. double click the command button, and it's open the code box like this:
private sub cmd_msg_click()
' you put your statement here
end sub
3. first statement that I give you is MsgBox.
type your statement: msgbox "how"
example:
private sub cmd_msg_click()
msgbox "how"
end sub
4. run the program, and click the button. It will pop up the messagebox says "how"
without ".
Just try it and you will understand little a little about statement and properties.
End of lesson 2.
Saturday, February 9, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment