View Issue Details

IDProjectCategoryView StatusLast Update
0004647JEDI VCL00 JVCL Componentspublic2009-01-06 09:04
Reporterfrank_jepsenAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOSXPOS VersionDelphi 7
Product Version3.35 
Target VersionFixed in Version3.36 
Summary0004647: JvMemo doesn't call OnKeyDown in HideCaret mode
DescriptionJvMemo overrides the WndProc procedure so that all WM_KEYDOWN Messages except cursor keys will get ignored. No OnKeyDown is called. Same is true for WM_LBUTTONDOWN, WM_LBUTTONUP, WM_MOUSEMOVE, WM_LBUTTONDBLCLK, WM_CHAR, WM_KEYUP. At least the event methods should be called.
Steps To ReproduceMake a Form with an JvMemo in it. Set HideCaret:=true.
Write an OnKeyDown event method with
if Key = VK_ESCAPE then Close;
The form will not close when ESC is pressed.
Additional InformationI did the following change in WndProc procedure:
      WM_KEYDOWN:
        begin
          case Msg.WParam of
to
      WM_KEYDOWN:
        begin
          DoKeyDown(TWMKey(Msg));
          case Msg.WParam of
TagsNo tags attached.

Activities

obones

2009-01-06 08:23

administrator   ~0015213

Please provide the zipped sources of a sample application showing a problem with detailed explanations.

AHUser

2009-01-06 09:04

developer   ~0015214

Fixed in SVN. Now all events work.

Issue History

Date Modified Username Field Change
2009-01-06 04:46 frank_jepsen New Issue
2009-01-06 08:23 obones Note Added: 0015213
2009-01-06 08:23 obones Status new => feedback
2009-01-06 09:04 AHUser Note Added: 0015214
2009-01-06 09:04 AHUser Status feedback => resolved
2009-01-06 09:04 AHUser Fixed in Version => Daily / SVN
2009-01-06 09:04 AHUser Resolution open => fixed
2009-01-06 09:04 AHUser Assigned To => AHUser