Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 23,281 times

Contents

Related Categories

Label Control - Properties and Events

Properties and Events

The label control has the following main properties:

Property Changes...
Name Label Name
Caption Label Text
BackColor Background Colour
ForeColor Text Colour
BackStyle Back style - Opaque or Transparent
AutoSize Whether the label Automatically resizes the control to display its entire contents.

All of these properties can be set during runtime (when the code is running).

The label control has the following main events:

Event Occurs When...
Click() The label is clicked
DblClick() The label is double clicked
Change() The label caption changes

James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.

Comments