Problems using graphic object to display text on tabPage
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?

Bloopy25 reputationPosted Jun 5, 2006, 3:32 PM EDT
Krishnaraj L153 reputationPosted Jun 5, 2006, 11:33 PM EDT
Let us know whether it works or not.
print screen4 reputationPosted Jun 6, 2006, 7:11 PM EDT