View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003131 | JEDI VCL | 00 JVCL Components | public | 2005-08-05 01:51 | 2005-11-22 09:11 |
Reporter | pgwillemsen | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Delphi 7 | OS | Windows | OS Version | XP |
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0003131: TJvDBGrid handles OnKeyPress event twice | ||||
Description | A TJvDBGrid handles an OnKeyPress() event twice. One time correctly, one time with var Key equal to #0. This problem occurs after updating to version 3. | ||||
Steps To Reproduce | Click New > Application. Drop a TJvDBGrid on the form. In the OnKeyPress event procedure of the JvDBGrid write: begin ShowMessage(IntToStr(Ord(Key))); end; Run the application and press a key. Everything seems to work correctly. Now press the Enter key. Two values are showed: 13 (correct) and 0 (incorrect). In my real application, the OnKeyPress() event is *always* fired twice. So, when I press the '8' key, it is one time fired with Key = '8' and one time with Key = #0. | ||||
Tags | No tags attached. | ||||
|
Could not reproduce with D7E/W2K using updated jcl/jvcl from cvs 2005/08/17. Tested with simple "Showmessage(Key)" in event handler - only the actual key pressed is displayed. Does this occur in a simple test case? EdB |
|
I tried to reduce the number of KeyPressed event triggers as much as it was possible. I can't do better. In most cases, you'll have only one KeyPressed event fired. Verify that your JVCL files are up-to-date. Fred |
|
No answers for more than 14 days, this is considered fixed. Use the daily snapshots from here: http://jvcl.sf.net/daily/ |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-08-05 01:51 | pgwillemsen | New Issue | |
2005-08-18 22:25 | edbored | Note Added: 0007812 | |
2005-10-10 09:16 | Informatix | Note Added: 0008010 | |
2005-11-22 09:11 | obones | Status | new => resolved |
2005-11-22 09:11 | obones | Resolution | open => fixed |
2005-11-22 09:11 | obones | Assigned To | => obones |
2005-11-22 09:11 | obones | Note Added: 0008133 |