|
-
Jul 23rd, 2003, 06:51 PM
#1
Thread Starter
Hyperactive Member
Drawing Text on a form (activex control)
If I wanted to print text on a form (activex control) how would I do that. I remember in vb 6 you could just use the print function, but say I wanted to print different colored text like the words red, blue, green in there respective colors one word after another, how would i do that?
-
Jul 24th, 2003, 08:13 AM
#2
Sleep mode
This draw text with colors and different font style : http://www.vbforums.com/showthread.p...ight=draw+text
-
Jul 24th, 2003, 08:41 AM
#3
Addicted Member
You can't create ActiveX controls in .net.
Assuming this code was inside a form:
Dim br As SolidBrush = New SolidBrush(SystemColors.ActiveCaption)
Me.CreateGraphics.DrawString("Hello World", Me.Font, br, 10, 10)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|