General information
Category:
Coding, syntax & commands
Title:
Line control dash gaps
Hi All
Place a LINE on a new form and set BorderStyle to Dash, Dot, Dash-Dot etc (and BorderWidth to 1) and the spaces between the dashes and dots show thru to the BackColor of the form (grey). So far so good.
Place a LINE in a container with a different colour background (white) and set BorderStyle as before and the spaces between the dashes and dots don't show thru to the BackColor of the container. I don't see white, I see the grey of the form below the container.
Fiddling with Drawmode produces some interesting effects, but not the desired one.
Q1. LINE must be taking something from its ColorSource to do the dash gaps - but what?
(Q2. Why do containers have a BackColor _and_ a ForeColor?)
Q3. Any improvements likely in VFP8 to homogenize the treatment of BackColor and ForeColor across the native controls (e.g. CommandButton has no access to BackColor)?
Any articles deal with this?
John Burton
Next
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