[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SetPopColor()
 Set or get the popup colors (LIST DBLIST clauses).
------------------------------------------------------------------------------

 Syntax:


     SetPopColor( [<aNewPopColors>] ) --> <aPopColors>

     OR

     SetPopColor( <nColor> ) --> <cColor>

     OR

     SetPopColor( <cNewPopColors> ) --> <cFullColorStr>

 Arguments:

     <aNewPopColors> is an optional array containing the three color pairs
     used by the LIST and DBLIST functions within the GET system.

     <aPopColors> is an array containing the current three color pairs used
     by the LIST and DBLIST functions within the GET system.

     <nColor> is numeric expression from 1 to 3 representing the
     corresponding current color pair of the LIST and DBLIST functions
     within the GET system.

     <cColor> is character string representing a requested color pair.

     <cNewPopColors> is a character string containing the three color pairs
     used by the LIST and DBLIST functions within the GET system.

     <cFullColorStr> is a character string containing the three color pairs
     used by the LIST and DBLIST functions within the GET system.

 Description:

     DBLIST and LIST clauses require three colors: the color for the
     borders and current GET value match, the color of the highlight bar and
     the color for the data in the list to be displayed.

 Example:

     The follow example will set the DBLIST and LIST colors to bright
     white on black for the borders and current value match, black on white
     (reverse) for the highlight bar, and white on black for the pending data.
     In addition the old colors are saved to be restored at the end of the
     module.

     LOCAL aOldPopColor := SetPopColor( "W+/N,N/W,W/N" )
     .
     .
     .
     SetPopColor( aOldPopColor )


 Files:  Library is CUACLIP.LIB.

See Also: SetGetColor() DEMO.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson