Hello! In my form I have TTimer and DBGrid. TTimer makes a field property of selected row to be chaged. Depending on this field value, a row is making bold in DBGrid in CellFormating event.
First all lines are bold, that is correct. When I select some row it should change to unbold. It happenes, but there are some drawing bugs. A row unbolds only for some first letters in first column. It unbolds full when I click to the other row.
See at picture that selected row haven't fully been unbolded. It unbolds only "Testing caption" words. And there are last 2 letters clonning in "caption" word
Untitled_1.jpg 92.83KB
10 downloads
Rows bolding problems
Started by Lelik, Jan 28 2010 03:56 AM
5 replies to this topic
#1
Posted 28 January 2010 - 03:56 AM
Кручу-верчу, ЛариÑ?у Ивановну хочу
#2
Posted 28 January 2010 - 09:27 AM
Hello Lelik,
May you please to send me this small demo project to I add on it what is required.
Thank you,
Best regards
May you please to send me this small demo project to I add on it what is required.
Thank you,
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#4
Posted 28 January 2010 - 07:42 PM
Hello Lelik,
Add this line:
at the end of OnTimer event.
I hope that this helps.
Best regards
Add this line:
CODE
NextGrid1.RefreshRow(NextGrid1.SelectedRow);
at the end of OnTimer event.
I hope that this helps.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#5
Posted 29 January 2010 - 12:55 AM
Thanks.....but it's a bit strange that row don't refresh fully by itself
Кручу-верчу, ЛариÑ?у Ивановну хочу
#6
Posted 29 January 2010 - 09:08 AM
Hello,
Row must be repainted since OnFormatText event doesn't triger any event.
Best regards
Row must be repainted since OnFormatText event doesn't triger any event.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users