Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
2466 00 JVCL Components major always 2005-01-04 03:12 2005-01-07 09:03
paolo  
 
normal  
resolved 3.00 BETA 2  
fixed  
none    
none 3.00 RC 1  
0002466: TJvDBGrid.OnKeyPress event is not correctly processed
The OnKeyPress events are ignored since the first TJvDBGrid.EditChange is fired.
Of course, this problem affects JvDBUltimGrid too.
(Tested on 2005-03-01 build, Delphi7.1, Windows XP Pro)
You can see this problem executing that sequence with the uploded sample project:
1) At the first start, the JvDBGrid.ReadOnly = True
2) Press a key (for example the number 1 in 'Species No' Field)
3) Show in the Memo the event sequence: only OnKeyDown and OnKeyUp event are processed
4) Now uncheck the CheckBox to set JvDBGrid.ReadOnly = False
5) Click on 'Species No' Field to activate the first EditChange event
6) Now check the CheckBox to set JvDBGrid.ReadOnly = True
7) As you can see, from now the events are always correctly executed (see it in Memo)
zip file icon JvDBGridError.zip [^] (4,207 bytes) 2005-01-04 03:12
Issue History
2005-01-04 03:12 paolo New Issue
2005-01-04 03:12 paolo File Added: JvDBGridError.zip
2005-01-07 09:03 AHUser Status new => resolved
2005-01-07 09:03 AHUser Resolution open => fixed
2005-01-07 09:03 AHUser Assigned To => AHUser
2005-01-07 09:03 AHUser Note Added: 0006101
2005-01-07 09:03 AHUser Assigned To AHUser =>

Notes
(0006101)
AHUser   
2005-01-07 09:03   
Fixed in CVS.