471,350 Members | 1,782 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

datagrid cell problem

Hi,
I have a datagrid with a datatable, and am using the MouseMove event to make
a tooltip pop up whenever the text in the cell is longer than the cell width.
This works ok, but there's a problem. When the mouse enters the cell, the
cell backcolor turns off-white/beige and the text is highlighted. (This also
happens when I just click on a cell to select the row - at least until I
release the mouse button.) I do have a CustomDataTableStyle where I set
ts.BackColor = Color.Black;
ts.ForeColor = Color.LightGray; // the text color
ts.SelectionBackColor = Color.Black;
ts.SelectionForeColor = Color.CornflowerBlue;
Is there anything to prevent this from happening, or anything I can add to
the tablestyle that says that, upon MouseEnter the backcolor is black and the
forecolor is cornflowerblue, or any other ideas? (overriding)
Thanks!!!
Mel
Dec 19 '05 #1
0 861

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Jack Kaufmann | last post: by
2 posts views Thread by Chris Plowman | last post: by
reply views Thread by Emerson | last post: by
2 posts views Thread by Daniel Walzenbach | last post: by
4 posts views Thread by Suzanne | last post: by
4 posts views Thread by tg | last post: by
13 posts views Thread by pmcguire | last post: by
9 posts views Thread by rn5a | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.