 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
BruBru Guest
|
Posted: Thu Nov 09, 2006 1:45 am Post subject: TDBCtrlGrid tricky one |
|
|
Hi,
I am currently writing an appl. to keep track of employee working times. For
some reasons i need to do this by means of TDBCtrlGrid. The pannels of the
grid have, among others, some TDBEdit controls on it.
(Lets say starting-time and ending-time.) I want to be able to attract the
users attention on the fields of the records, where, for example, the
starting-time is entered but not the ending-time. To do so i would like to
have the particular TDBEdit-control's background to turn red.
I partially managed to do so by checking the values of the editfields in the
OnEnter & OnExit events of the TDBEdit controls. Hereby setting the collor
of the particular TDBEdit control to the desired one. Works fine.
The problem occurs when moving to another record (Off the record edited).
Skipping to another record makes the color of the TDBEdit-control's
background change for all records (on all panels) of the TDBCtrlGrid.
Anyone's help having a clue on solving this tricky prob, would be greatly
appreciated.
Thanks,
BruBru |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|