Is it possible to just change the GroupHeader color to make it a different color from the standard Header's ? .. grey perhaps ?
- Code: Select all Expand view
// project plan ---------------------------
REDEFINE xBROWSE oLbx3 ;
ARRAY aPlan ;
HEADERS "Budget"+CRLF+"Item", ;
"Origional"+CRLF+"Budget", ;
"Budget"+CRLF+"Revision", ;
"Current"+CRLF+"Budget", ;
"Origional"+CRLF+"Contract", ;
"Contract"+CRLF+"Revisions", ;
"Current"+CRLF+"Committed", ;
"Pending"+CRLF+"Proposals", ;
"Potential"+CRLF+"Exposures", ;
"Potential"+CRLF+"Costs", ;
"Potential"+CRLF+"Project Costs", "hidden" ;
COLSIZES 135,75,75,75,75,75,75,75,75,75,75 ; // 11
PICTURE "","@)999,999,999.99",;
"@)999,999,999.99",;
"@)999,999,999.99",;
"@)999,999,999.99",;
"@)999,999,999.99",;
"@)999,999,999.99" ;
ID 174 of oCust ;
AUTOCOLS CELL LINES FOOTERS
oLbx3:SetGroupHeader( 'Before Construction', 2, 4 ) // <-- change color for all three ?
oLbx3:SetGroupHeader( 'During Construction', 5, 7 )
oLbx3:SetGroupHeader( 'Un-Forseen Costs', 8, 11 )
oLbx3:lHScroll := .t. // turn on horiz scroll bar
oLbx3:hidden:Hide() // hide last column used for row color
oLbx3:nStretchCol := 1
oCol := oLbx3:aCols[ 1 ]
oCol:bFooter := { || Ltrim( Str( oLbx3:KeyNo() ) ) + " / " + LTrim( Str( oLbx3:KeyCount() ) ) }
// maketotals
oLbx3:nFooterTypes := AGGR_SUM
For i = 1 to LEN( oLbx3:aCols )
oLbx3:aCols[ i ]:bSumCondition := { || !( IfNil( oLbx3:Hidden:Value(), "" ) $ [24] ) }
Next