Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need A Gradiant Background
Message
From
03/11/2005 03:34:30
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01064822
Message ID:
01064852
Views:
20
>I'm looking for a gradiant style background.
>
>I want something akin to the gradiant image found on VS 2005's
>Start Page. Something like that would work.
>
>Anyone know where I can get one?

Haven't seen the image you refer to , but maybe this code can give you a start. Put it in the form's Init, and in Resize. Or create a custom method, and call it from Init and Resize.
LOCAL lnRow
ThisForm.ScaleMode = 3
ThisForm.DrawWidth = 1
FOR lnRow = 0 TO ThisForm.width 
   ThisForm.ForeColor = RGB(0,0,255-255*lnRow/ThisForm.width)
   ThisForm.Line(lnRow, 0,lnRow,ThisForm.height)
NEXT lnRow
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform