I have tested that they work in a normal Testapp with no problem.
The plugin is a DLL which is called by the host-app.
The DLL has form where the SG is on.
When I define a SG-OnKeyDown event I can see that it is called:
- Code: Select all
procedure ThpwForm.SimpleGraph1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
if Key=VK_TAB then
showmessage('Key=Tab')
ELSE IF Key=VK_DELETE then
showmessage('Key=Delete')
ELSE IF Key=VK_LEFT then
showmessage('Key=Left')
ELSE IF Key=VK_RIGHT then
showmessage('Key=Right')
ELSE IF Key=VK_UP then
showmessage('Key=Up')
ELSE IF Key=VK_DOWN then
showmessage('Key=Down');
end;
Edit-mode is on cmEdit.
But why is the components key handling not called?
Any idea what can cause this?