View contents of this chapter

The Pointer Tool

The pointer tool is the only toolbox item that is not a control. The only use for the pointer tool is to eliminate the crosshair mouse cursor.

The Label Control

A Label control is a graphical control you can use to display text that a user can't change directly.

Play Sound You can change the label's text, at runtime, through code.

The Label control is used for titles, prompts, and descriptions. Some more properties:

  • AutoSize: It determines whether a control is automatically resized to display its entire contents.
  • WordWrap: It Returns or sets a value indicating whether a Label control with its AutoSize property set to True expands vertically or horizontally to fit the text specified in its Caption property.

Play Sound For WordWrap to work, you must set AutoSize to True.


© Universal Teacher Publications        INDEX Previous Screen Next Screen