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
Charles Morissette
NA
29
42.8k
Checking how long a C# label can be seen
Mar 30 2011 11:08 AM
I'm trying to make a template form that prints out a string in the middle, this string will be in a label or a textbox (still figure out which would be better there).
What I need to do is get the string to write to the label, then it's going to print out. After that, I want the label to display more of the string.
I'm thinking of doing it like this.
Write string to label
Print
Start a loop
Remove portion that was written from string
Erase label content and write in it again
Print
Loop until full string is written
I am however a bit confused on how to tell how much can be seen by the user. Is there a visible text option, or some command I don't know of, that would do this? Or anyone have an idea.
Reply
Answers (
9
)
compare 2 keys to get value
Using WebClient to upload a file to Web