Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicbackColor - How do I make a grid cell colored?
Message
From
08/10/2001 06:15:44
 
 
To
08/10/2001 06:10:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00565400
Message ID:
00565401
Views:
20
Hi!

For current cell grid use properties of the control inside of the column. So probably you need to write a code for control in the column to set up colors properly in the GotFocus event. Note that when you have Sparse=.F., this could be different.

>Hi, I am trying to get a grid cell in a different color.
>
>What I really want is that there is a narrow border around the cell,
>but it would be acceptable if the color was changed inside the cell.
>
>The best I can do is change the dynamicbackcolor and forecolor using something like:
>
>THIS.column1.DYNAMICBACKCOLOR='RGB(255, 0, 0)'
>THIS.column1.DYNAMICFORECOLOR='RGB(255, 0, 0)'
>
>My problem is it seems as though the BorderColor and DynamicForeColor
>have no effect.
>
>With the above code when you go into the field the color is not kept;
>It only shows the color as red when I am not in the field.
>
>Does anyone know how to do this?
>
>thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform