Chris Davis wrote:
> Hi All,
>
> I have my base grid class which has my own method to set the
> DynamicBackColor to color certain rows depending on whatever criteria
> applies.  How can I implement the alternate colouring of rows i.e. green -
> white - green - white .... I can obviously make this work when the grid has
> no index set by using recno().  But what about when the user is changing the
> order all the time ?  How do I keep them alternate.  I have tried
> relativerow to no avail.
>
>   
Hi Chris,

The only way I can think of to get this working would be to have your 
grid based on a cursor which has an extra field on the end for each 
index order.  These fields would be like a record number for each index 
key and you would have to fill them in when you opened the form.  Might 
work ok for a small number of records.  You would have a method that 
returned the appropriate field depending on the index order.

Just an idea.

Peter



_______________________________________________
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
** 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.

Reply via email to