Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to format font of a single grid cell
Message
 
 
To
28/11/2008 20:42:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01364586
Message ID:
01364640
Views:
17
Dragon,

Thanks for your quick reply. I wasn't expecting anything late on a Friday of a holiday week.

Looks like what you've given me will help.

I was wondering though: isn't there anyway to directly address a single cell in the grid and set its properties directly, like you might do with a spreadsheet?

Jim

>>Simple question, but it has me stumped.
>>
>>I have a grid. I would like to change the color of the font for cells in the grid on an individual basis.
>>
>>How can I do that?
>
>Check dynamic* properties - you can have multiple controls in a column, each for a different occasion, or can just set font properties dynamically. The expressions you enter (or assign programmatically) are eval()uated in the context of the grid itself; you can use the alias, This.SomeProperty to access any property of the grid etc. Lots of tools there to achieve whatever you want.
>
>Dynamic properties are set for each column separately, so you only need to decide how does something in the current record decide how should the current row look. If it doesn't look right for other records, flip the value of .sparse property for the column where it happens.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform