Adding Controls to a Form
A control helps you create objects on a form, such as labels, buttons, and lists. You can give the object different property values, create events, and perform certain actions using methods.
The Windows CE Toolkit for Visual Basic 5.0 contains several controls. The intrinsic controls are displayed in the Toolbox.
To add a control
-
Start a new Windows CE project by starting Visual Basic 5.0, then clicking the Windows CE Project icon in the New Project dialog box.
-
Click on a control in the Toolbox, and then move the mouse pointer to a location on the form where the control's top, left corner is to be placed.
-
Hold the left mouse button down and move the mouse pointer down and to the right until the control is the size you desire.
-
Release the left mouse button.
To resize a control
-
Single-click the control on the form to give it focus.
-
Select a resizing handle.
-
Hold the left mouse button down and move the mouse to change the size of the control.
-
Release the left mouse button.
To add a third-party control