[Gambas-user] Changing text color in dataBrowser or Viewer
rocko
sunblaster5 at ...626...
Wed Sep 5 21:40:28 CEST 2012
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 <sunblaster5 at ...626...>
More information about the User
mailing list