John, the property fires during On display detail (v13) in the listbox property: Row Font Color enter a method which executes your conditional(s) and returns an RGB color value (longint)
Chip On Wed, 10 Oct 2018 15:43:49 -1000, JOHN BAUGHMAN via 4D_Tech wrote: > In a Selection based list box how do you set a row font color based > on a condition such as if records in a related many table exist or > not. I would like to set the font color for the row to red if the > related many table has records and black if it does not. > > I see that a method entered in Font Color Expression only fires On Load. > > Seems like I have figure this out before but am stumped today. > > Thanks, > > John > > > > John Baughman > Kailua, Hawaii > (808) 262-0328 > [email protected] > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

