URGENT: Some characters in TMemo/TEdit components are wrong processed in plugin (host: delphi / plugin: delphi)

Hi

I have this problem:

https://talk.remobjects.com/t/70492-open-hydra-and-unmanaged-visual-plugins/5288

but host and plugin are developed in delphi.

The problem is that on TMemo/TEdit components some characters like ( or ’ are not processed and translates them into TAB

I use the last official version: 6.6.0.1309

How can I solve it?

Thank you very much

Claudio

Add this info:

host and plugin are developed in Delphi 7 (host) and delphi 11.3 plugin therefore without the use of runtime packages.

I’m starting to port a large application that is in Delphi 7 to slowly migrate it to the latest version of Delphi

Thank you very much

Claudio

Logged as bugs://H1033.

Hi,

this case is appeared only when host and plugin are built w/o runtime packages.

as a quick workaround, you can apply workaround similar to .net one:

update Hydra.VCL.ControlAsVisualPlugin.pas as

function THYVCLControlAsVisualPlugin.HandleKeyboardAccelerator(const aChar: Word): WordBool;
..
//    VK_LEFT, VK_RIGHT, VK_UP, VK_DOWN:
//      Mask := DLGC_WANTARROWS;          
1 Like

Many Thank’s EvgenyK!

This workaround work fine!!!

Claudio

bugs://H1033 was closed as fixed.