View Issue Details

IDProjectCategoryView StatusLast Update
0004733JEDI VCL00 JVCL Componentspublic2009-04-29 15:27
ReportergpcarettiAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.36 
Target VersionFixed in Version3.37 
Summary0004733: TJvDesignSurface: Ctrl-Left/Right/Up/Down and Shift-Left/Right/Up/Down on Windows
DescriptionWith D2007 the Ctrl-Left/Right/Up/Down and Shift-Left/Right/Up/Down do not work on the design panel (TJvDesignSurface) when is in active mode because the panel does not intercept the "Special Keys" during the WM_KEYDOWN (VK_LEFT, VK_RIGHT,
etc.).
Additional InformationIn D2007 the message management loop calls the IsKeyMsg method. IsKeyMsg
does not pass on the original key message, but it adds an offset (CN_BASE) to
the message ID to turn the original Windows message into a VCL message.
So, WM_KEYDOWN becomes CN_KEYDOWN, WM_CHAR becomes CN_CHAR, and so on.

For this reason, in order to intercept the special keys the CN_KEYDOWN
and CN_KEYUP should be checked in the JvDesignSurface unit.

Please, find attached the proposed patch I added to the above unit officially released in JVCL 3.36 (look for GpCaretti)
TagsNo tags attached.

Activities

2009-04-06 16:12

 

JvDesignSurface.pas (30,785 bytes)

obones

2009-04-29 15:27

administrator   ~0015477

Thanks, this is now in SVN.

Issue History

Date Modified Username Field Change
2009-04-06 16:12 gpcaretti New Issue
2009-04-06 16:12 gpcaretti File Added: JvDesignSurface.pas
2009-04-29 15:27 obones Note Added: 0015477
2009-04-29 15:27 obones Status new => resolved
2009-04-29 15:27 obones Fixed in Version => Daily / SVN
2009-04-29 15:27 obones Resolution open => fixed
2009-04-29 15:27 obones Assigned To => obones