Can I change the text color in a data object like a browser or viewer?

Say I need to changed the text color of as 'daysleft' field.

Can I do Something like:
If sResult!daysLeft < 22 Then
        DataBrowser1.Column.Foreground = Green

And to do all the entries in the 'daysLeft field
I could do a FOR EACH NEXT Loop.

Maybe:
sResult = DB.Edit("databsename" id = &1, ID)

For Each sResult
        If sResult!daysLeft < 22 Then
        DataBrowser1.Column.Foreground = Green
        
        Else...
End IF
Next

        
-- 
rocko <sunblast...@gmail.com>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to