On 11/30/10 2:56 PM, Paul McNett wrote:
> On 11/30/10 2:14 PM, José Romero wrote:
>> Hello! i'm new to dabo and i'm developing a small bookkeeping database
>> front-end with it, everything's really good so far, but i can't figure
>> out how to do this, what i want to do is to make certain rows in a dGrid
>> have a different font based on the value of a database field.
>>
>> The particular case is this: i have a list of invoices and i'd like to
>> bold the outstanding ones (paid=false) and turn the expired ones (due
>> date<   today) red. I figured i could use something like a dynamic
>> property, but how would i go about doing that in a row per row basis?
>
> I've only implemented 2 dynamic properties that will work row by row
> (DynamicCellBackColor and DynamicCellForeColor). Here's how to get the text 
> coloring
> working:
>
> http://codepad.org/EEiqrd6S
>
> Stay tuned and I'll have the DynamicCellFontBold property added to subversion 
> (give
> me a few minutes).

Ok, well I committed the change (r6230) that adds CellFontBold and 
DynamicCellFontBold, but it doesn't work at least on Linux. I'll have to 
revisit later.

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to