Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only