Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - <b>colour strings and attributes:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Colour Strings and Attributes:
 ----------------------------------------------------------------------------

 In TSDWIN, a Clipper colour string is the return value of the
 SETCOLOR() function. A Clipper colour attribute WILL ALWAYS BE ONE
 PORTION OF THAT STRING, eg.,

    For the Clipper colour string: "W+/B,GR+/R,,,B/W"
    The colour attributes are    : "W+/B", "GR+/R" and "B/W"

 The distinction is made necessary by the requirement to refer to
 colour attributes by number within the library.

 Be careful when using SETBLINK(). If it is set to FALSE,
 SETCOLOR() returns the colour string as if it were set to TRUE. A
 fix for this will come later, in the twVattr and twSattr
 functions.  It is supposed to help if, when using high intensity
 backgrounds, you express them as, for instance: "n/*bg" and not
 ""n/bg*"

 For TSDWIN's browses, you can pass a colour string like
 "w+/b,gr+/r,,bg+/r,n/w". TSDWIN can use this for the window
 colour, as a SETCOLOR(), and for the colorspec within a browse. In
 browses, the fourth element in the list is commonly used for the
 colorspec of frozen columns. Scroll bars are defaulted to the main
 frame colour. Frame colours default to the Clipper standard colour
 of the current window colour if not specifically passed.



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson