CodeItBetter Programming Another VB Programming Blog

How to Draw 3D text on form

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'Graphics - How to Draw 3D text on form

Option Explicit
 
Private Sub Command1_Click()
    Dim I As Integer, ShadowX, ShadowY
    Me.AutoRedraw = True
    Me.FontSize = 30
    ScaleMode = 3
    ForeColor = "&H808080"
    ShadowY = 5
    ShadowX = 5
    For I = 0 To 5
        CurrentX = ShadowX + I
        CurrentY = ShadowY + I
        If I = 5 Then Form1.ForeColor = vbWhite
        Form1.Print "http://codeitbetter.com/"
    Next I
End Sub
Filed under: Graphics Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.