On 6/18/2012 10:44 PM, Sytze de Boer wrote:
> Hi folk
> With a grid, in the INIT event, I have set
> thisform.Grid1.SetAll("DynamicBackColor","IIF(GOMONTH(sysdate,-12)<pemp.sickanver,RGB(255,255,255),
> RGB(255,128,128))", "Column")
>
> There are some 10 columns in the grid, and 3 of them should be green
> So I have set the backcolor to 128,255,128 for column4, 5 and 6
>
> But the INIT event overrides this and the green doesn't show until
> you're at the end of the file and there's some grid "left over"
>
> Is there a way that I can have some columns in green ?
>Do you need to set the Sparse column property to .F. ? -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

