SpeakComputers.com
Home
Software
Electronics
Desktop Computers
Laptops
Games
Handheld Devices
Mobile Phones
Cameras
Camcorders
Printers
Books
Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010
ASP.NET C# VB.NET C++ .NET Infragistics DevComponents

C++ Label Control.

The C++ Label control is used to display text to the end user for a control descriptive instruction. This might be a instruction on a TextBox field.

Namespace: System::Windows::Forms
System.Windows.Forms (in system.windows.forms.dll)

Creating an new C++ Windows forms Label.
Label^ label = gcnew Label;

Assigning a new location for the C++ Windows Forms Label.
label->Location = Point(20,20);

Assigning a text value to the C++ Label control.
label->Text = "Computer Name";

Assigning an AutoSize value to the Label Control.
label->AutoSize = false;

Assigning a Size value to the Label Control.
label->Size = System::Drawing::Size(200, 23);

Assigning the BackColor property to the C++ Label Control.
label->BackColor = System::Drawing::Color::Black;

Assigning the ForeColor property to the C++ Label Control.
label->ForeColor = System::Drawing::Color::White;

Adding a C++ Label control to the form.
Controls->Add(label);

C++ Label control Tutorial.
Computer Security
AntiVirus Software
Internet Security
Parental Controls
Backup & Recovery
Computer Protection
Anti Malware
Photo & Video
Photo & Video Editing
Video Music
Desktop Publishing
Professional Design
Home Publishing
Clipart
Business & Accounting
Accounting
Payroll
Check Printing
TAX
H&R Block
Microsoft Office
Design
Graphic Design
Home Design
Garden Design
Interior Design
Computer Aided Design
3D Design
Students & Teacher
Adobe
Microsoft Office
Dragon Naturally Speaking
Corel Draw
Serif
Student/Teacher Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
Home About Privacy Policy Resouces