Board index » delphi » DBGrid Selection Problem
|
Sebastian Tengler
Delphi Developer |
|
Sebastian Tengler
Delphi Developer |
DBGrid Selection Problem2003-07-24 02:15:41 AM delphi24 Hello Newsgroup! I use a DBGrid with an OnDrawdatacell to color some columns and the selected row. If I requery the database the DBGrid indicator in the first column and the selected row (highlighted by my OnDrawdatacell) do not match. If I do not use OnDrawdatacell everything works fine. Is it necessary to refresh, repaint, etc. the DBGrid after using OnDrawdatacell? Thanks for any help! Bye, Sebastian Tengler |
| Sebastian Tengler
Delphi Developer |
2003-07-27 08:54:41 PM
Re:DBGrid Selection ProblemQuoteTry using the OnDrawColumnCell instead. Any other ideas? Thanks, Sebastian Tengler |
| Wayne Niddery [TeamB]
Delphi Developer |
2003-07-28 12:04:26 PM
Re:DBGrid Selection Problem
Sebastian Tengler writes:
Quote>Try using the OnDrawColumnCell instead. -- Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com) RADBooks: www.logicfundamentals.com/RADBooks/delphibooks.html Those who disdain wealth as a worthy goal for an individual or a society seem not to realize that wealth is the only thing that can prevent poverty. - Thomas Sowell |
