| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== GRID (set list grid-line display color) ====== | [[gray set 3 d look background .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[hide set control hidden .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **GRID(**//rgb//**)** {{blk2blue.jpg|blk2blue.jpg}} | **GRID** | Specifies list box grid-line display color. | | //rgb// | A LONG or ULONG integer constant, or constant EQUATE, containing the red, green, and blue components that create the color in the three low-order bytes (bytes 0, 1, and 2), or an EQUATE for a standard Windows color value. | The **GRID** attribute (PROPLIST:GRID) specifies the display color of grid-lines in a COMBO, or LIST control. EQUATEs for Windows' standard colors are contained in the EQUATES.CLW file. Windows automatically finds the closest match to the specified //rgb// color value for the hardware on which the program is run. **Example:** **WinOne WINDOW,AT(0,0,400,400)** **        LIST,AT(0,34,366,146),FROM(TreeDemo),USE(?Show),HVSCROLL,GRID(COLOR:Red)|** **        FORMAT('80L*IT~First Name~*80L~Last Name~16C~Initials~')** **       END**