FoxPro Line Styles ExplainedID: Q127017 The information in this article applies to:
SUMMARYFoxPro supports a limited number of line styles as demonstrated by the program in this article.
MORE INFORMATIONFoxPro supports five main line styles. Styles 1 through 4 are the combi- nations of short dashes, long dashes, and dots.
If you examine the line definition code inside an SPR, you may see that
FoxPro will use a line style of 8, which is an undocumented line style.
Line styles 5 on up are all solid lines, as the code sample will show.
The other parameter of significance is identified below as PenWidth. This value has no bearing on the width of line styles 1 through 4. However, it does affect the width of the primary line style 5 (the solid line). Any value higher than 6 will be treated as a value of 1. **------------------------------------------------------------------** **------------------------------------------------------------------**
PUSH KEY CLEAR
ON ESCAPE DO Stop IN LINETEST
FOR PenWidth = 1 TO 6
ENDFOR
PROCEDURE Stop CANCEL Additional reference words: FoxWin 2.60 2.60a LINE STYLES KBCategory: kbprg kbcode KBSubcategory: FxprgGeneral |
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |