Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who's right, VB or VFP?
Message
From
09/07/2002 10:11:17
 
 
To
08/07/2002 14:00:22
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00676246
Message ID:
00676616
Views:
17
>Hello All,
>
>I'm using a VFP 6.0 shape on a form and set it's FillStyle to 4 - Upward Diagonal. This sets a pattern of parallel lines that have a positive slope (from lower left to upper right).
>
>When I do this in VB6, it fills with a negative slope (upper left to lower right).
>
>Which pattern is correct for an "Upward Diagonal"?

FWIW, it's not consistent even within VFP. Here's what we said in HackFox about it:

FillStyle offers two diagonal styles—4 and 5—labeled "upward diagonal" and "downward diagonal." For no reason we can fathom, these are interpreted differently for shapes than for graphic objects drawn with Box and Circle. We think shapes are getting it right and that graphics are confused. Regardless, it's pretty strange when you have two objects with the same FillStyle and the lines go one way in one and the other way in the other.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform