>>I have a grid with a command button in one of the columns. The command button activates an editing window for editing a memo field. I want to signify to the user which records have memo info and which don't. I used the following code:
>>
>>THIS.FontBold=IIF(MEMLINES(Comments)>0,.T.,.F.)
>>THIS.Refresh
>>
>>This makes the caption in the command button for all records bold. How do I apply the above code for each individual record in the grid?
>
>You should use Column.DynamicFontBold property.
Thanks Ed. This worked great. I also changed the Column.DynamicForeColor to RGB(0,0,255). This however raises another question. When I disable the grid how do I prevent the command buttons DisabledForeColor from overriding the Dynamic setting?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.