Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GDI+ in VFP8
Message
From
29/11/2006 09:42:49
 
 
To
29/11/2006 02:36:28
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Miscellaneous
Thread ID:
01173115
Message ID:
01173248
Views:
6
This is cool!
Where do you come up with this kind of jewels ?? :)


>>Is it possible to do any GDI stuff in VFP8? I just want to do a simple gradient fill to help in the visual appearance on a few forms. All the examples I have found are with VFP9.
>>
>>Scott
>
>No need to use GDI! To get a gradient background, put this code in yourform.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) && Change the color values to your preference
>   ThisForm.Line(lnRow, 0,lnRow,ThisForm.height)
>NEXT lnRow
>Yourform.init:
>this.resize()
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform