Paul

I got it to work :-)

Many thanks

Paul

Paul McNett wrote:
> Paul Newton wrote:
>
>   
>> I was wondering about that but can't see how it could be implemented 
>> because the condition required for the bold does not depend upon 
>> anything in the records of the underlying cursor/table - it depends only 
>> on whether the row is the activerow ...
>>     
>
>
> Hmm, I was thinking that the activerow would equal recno(), but of 
> course it doesn't have to for indexed cursors.
>
> How about adding a custom property nActiveRecno, and setting that to 
> recno() in grid.AfterRowColChange. Then you can make your 
> col.DynamicFontBold = 'this.parent.nActiveRecno == 
> recno(this.parent.rowsource)'
>
> Or something like that (code above completely untested and off the top 
> of my head). You may need to force a refresh in the AfterRowColChange 
> method.
>
> Paul
>
>   



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

Reply via email to