Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
500MB 27GB Web Hosting - $9.95/Month
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
TitleDraw text with a shadow
Keywordsdraw text, label, shadow
CategoriesGraphics
 

Draw the shadow. Then draw the text on top slightly offset.

 
Private Sub Form_Load()
    AutoRedraw = True
    ScaleMode = vbPixels

    ' Select a nice big font.
    With Font
        .Name = "Times New Roman"
        .Bold = True
        .Size = 48
    End With

    ' Draw the shadow.
    ForeColor = vbBlack
    CurrentX = 10
    CurrentY = 10
    Print "Shadow Text"

    ' Draw the text slightly offset.
    ForeColor = vbBlue
    CurrentX = 10 - 3
    CurrentY = 10 - 3
    Print "Shadow Text"
End Sub
 
 
Copyright © 1997-2001 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated