Computing Students - Computer Science Degree Notes
Home Contact Shop Notes Questions Programming Links Dictionary Coursework FORUM Tutors
  Recommended Amazon Searches: Computer Science | Computing | Computer Systems | Database | Computing Revision  

Programming > Visual Basic > Tutorial > 8 - Customising Buttons

You can now try resizing the buttons to how you want them and you can change their captions to be more descriptive like the image below shows. The form's size and caption can also be changed.

It is important to note that if you change a control's Name you must change the coding associated with it accordingly. For example, if you were to call your first button "MessageBox", its code must be changed as shown below, otherwise it will not work.

    Private Sub MessageBox_Click()
    MsgBox ("Hello")
    End Sub

If you are happy with this, you can move on to the next step which will show you how to save your work: Saving Your VB Work

Search for "Visual Basic" on: Google | Kelkoo | Amazon | eBay (UK) | eBay (US)

Search for "Visual Basic" on the rest of Computing Students: Visual Basic

Find Visual Basic (VB) Programming Books in the Computing Students Computer Science Book Shop






Home | Contact | Shop | Notes | Questions | Programming | Links | Dictionary | Coursework | Tutors Sponsored Links: Affiliate Program Articles | Computer Science Definitions | CS Degree Notes
Copyright © 2005-2009 ComputingStudents.com
This site is to be used in accordance with the ComputingStudents.com User Agreement
High Wycombe Web Design