The objective of this tutorial is to learn the distinctive features of command buttons, option buttons and check boxes and to be able to use each of these within a VB program. Add appropriate captions to the controls. Provide simple code to make the controls respond to a click event.
Group controls using a frame.
Make a simple alteration to the interface, such as changing background colour, at run time. This technique will be used again, but instead of simply loading one icon, we will explore how to give the user a choice and load one or more of a selection of icons. The syntax of the LoadPicture command is given again below. This statement loads the icon specified in the path between the quotation marks, into the picture box called Picture1 . Task Use VB on-line help to complete the following exercises.