TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
satyanarayana svv
NA
1
0
autosize of label is not working
Dec 4 2007 1:48 AM
Hi, I am using Visual Studio 2005 and DotNet 2 I have the following code: private System.Windows.Forms.Label tempLabel; private System.Windows.Forms.Label label; //declaration. this.label = new System.Windows.Forms.Label(); //initialization in constructor this.tempLabel = new System.Windows.Forms.Label(); this.tempLabel.AutoSize = true; this.label.Location = new System.Drawing.Point( 10,10 ); this.label.Name = "mylabel; this.label.Text = "Remember password on this computer:"; this.tempLabel.Text = this.label4.Text; . . . Now when I display the width of tempLabel......its always showing 100 irrespective of label size. Can any one tell me why tempLable is size always 100 inspite of setting autosize=true; regards, satya
Reply
Answers (
1
)
XML formatting error
How can i stored values to 2D array variable in vb.net