![]() For example, there is a property for changing the text displayed on a label, the color of a button, the font of the text on a button and so on. Properties are a group of settings that allow the appearance and behavior of controls to be changed. This is done by changing the Properties of the controls. Now that we have added the controls to our Form we need to change some of the characteristics of these controls. Use the mouse to move the controls around the Form until you have a layout you are happy with. Grab a Button from the Toolbox and drag and drop it on the Form. The new label will then appear in the Form at the point you dropped it. To add a label to the form, click on the Label control in the Toolbox, drag it to the center of the Form and release the mouse button. To do so, simply click on the toolbox title area and drag it.Ĭontrols are added to the Form by clicking on the required control in the Toolbox and dragging it to the desired location on the Form. It is also possible to detach the toolbox so that it will float and can be positioned anywhere on the desktop. Once it is pinned in place it will not auto-hide. To make it permanently visible click on the push pin icon at the top of the toolbox window. The toolbox will auto-hide by default, that is it will disappear when the mouse pointer is moved away from it. This Toolbox contains all the controls that may be used to build a Graphical User Interface for a Windows application.
0 Comments
Leave a Reply. |