|
-
October 23rd, 2001, 12:14 PM
#1
Set color to datagrid row
How can I set foreground color to a row in a datagrid? I need to set colors to certain rows when a condition is met.
Thanks in advance for your help.
-
October 23rd, 2001, 12:24 PM
#2
Re: Set color to datagrid row
That is how you can change color in msflexgrid
Private Sub MSFlexGrid1_Entercell()
MSFlexGrid1.CellBackColor = vbRed
End Sub
Private Sub MSFlexGrid1_Leavecell()
MSFlexGrid1.CellBackColor = vbwhite
End Sub
Iouri Boutchkine
[email protected]
-
October 23rd, 2001, 12:29 PM
#3
Re: Set color to datagrid row
Thanks Iouri,
How about for a datagrid type grid?
Thanks again.
-
October 23rd, 2001, 12:31 PM
#4
Re: Set color to datagrid row
I did not try. Check if DBGrid has such properies.
Iouri Boutchkine
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|