In VFP 9 is it possible to change the color of the text in a listbox dynamically? Sort of like DynamicBackColor in a grid.
Basically I want to change the text color list item if a particular value is true.
I have tried the following to no avail;
Greg Grewe
West Chester, Ohio
Basically I want to change the text color list item if a particular value is true.
I have tried the following to no avail;
Code:
FOR i = 1 TO .lstAttendeeName.ListCount
IF !EMPTY(.lstAttendeeName.List[i,5])
THISFORM.lstAttendeeName.List[i].ItemForeColor = "RGB(128,255,128)"
ENDIF
ENDFOR
Greg Grewe
West Chester, Ohio