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
print screen
NA
4
0
Problems using graphic object to display text on tabPage
May 31 2006 7:28 AM
I have created text on a tabpage by using graphic object. Graphics g = null; g = tabPage1.CreateGraphics(); g.DrawString("Hello", new Font("Courier New", 10, System.Drawing.FontStyle.Regular), new SolidBrush(Color.Black), 10, 20); g.Dispose(); Labels were used before instead and the tabPage was scrollable (tabPage.AutoScroll = true) but the text were displayed too slowly. But now, after changing labels to graphic objects, the tabpage is not scrollable any more and thus causes missing text. Also, whenever the splitter is moved, the existing text on the tabPage disappeared and the tabPage becomes blank. Any solutions to these problems?
Reply
Answers (
3
)
popup menu in the Web Forms
sortcode for DataGrid control