Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh 1 column of 1 line in grid.
Message
 
To
10/11/1997 11:12:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00059281
Message ID:
00059295
Views:
23
>>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.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform