home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
i
/
ivb92b.zip
/
SHADOW.FRM
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1992-09-10
|
2KB
|
46 lines
Form1
Shadow Demonstration
Form1
Check1
&Extruded
Text1
Label1
&Text
Text2
Command1
&Redraw
Label2
&Shadow
Text3
Command2
E&xit
Label3
&Background
Command1_Click
Form_Paint
Form_Click
Text1
Text2
Text3
BackColor
CurrentX
CurrentY
Check1
Value
ForeColor
Command2_Click
Command1_Click
Form_Paint
Hello World"
Demo textr
Get text, shadow, background colors
Set form and "shadow" colors
Calculate offset value as as
percentage of the font height
Store current text positionh
Calculate shadow positionf
Print shadow
Reset position for texte
Print regular text
Command2_Click