It is very easy to change background color and foreground color at run time, just use the code below:
Private Sub Form_Load()
Form1.Show
Form1.BackColor = vbRed
Form1.ForeColor = vbBlue
Form1.Print "Foreground"
End Sub
This is a blog that discusses anything related to Visual Basic and provides updates for VISUAL BASIC TUTORIAL website. Your comments and suggestions are welcome here. Thank you.
Saturday, August 23, 2008
Thursday, August 7, 2008
Lesson on Radio Buttons
You have already learned how to use the check boxes in VB2008 tutorial, lesson 17. In lesson 18, you will learn how to use another kind of choice selection control, the radio button. You will find out the difference between the radio buttons and the check boxes. Please click on the link below to start learning.
http://www.vbtutor.net/vb2008/vb2008_lesson18.html
Happy Learning.
http://www.vbtutor.net/vb2008/vb2008_lesson18.html
Happy Learning.
Tuesday, August 5, 2008
Using Check Box
The Check box is a very useful control in Visual Basic 2008. It allows the user to select one or more items by checking the check box/check boxes concerned. In lesson 17 of VB2008 tutorial, you will learn how to create a simple shopping cart using the check boxes. Please click the link below to start learning.
http://www.vbtutor.net/vb2008/vb2008_lesson17.html
Happy Learning.
http://www.vbtutor.net/vb2008/vb2008_lesson17.html
Happy Learning.
Subscribe to:
Posts (Atom)