When I use TCoPDFXCview(v.2.046) in my MainForm, it make the ShortCut(like ESC,F1,…F12,Ctrl+W…) in a TAction List no use.
How to solve this Problem.
ShortCut Problem
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: ShortCut Problem
Hello cfpalan,
Please update to the latest SDK release (2.0.52) as you are using a rather old one.
Best,
Stefan
Please update to the latest SDK release (2.0.52) as you are using a rather old one.
Best,
Stefan
-
- User
- Posts: 4
- Joined: Wed Jun 09, 2010 3:31 am
Re: ShortCut Problem
I have updated the latest SDK to release (2.0.52).
But the ShortCuts (ESC,F1,…F12,Ctrl+W) don't work when the Focus is on TcoPDFXCView.
And even if the focus is on TcoPDFXCView,
the ShortCuts like "Delete","Ctrl+C","Ctrl+X","Ctrl+V" .... do not work too.
How do I slove this problem?
But the ShortCuts (ESC,F1,…F12,Ctrl+W) don't work when the Focus is on TcoPDFXCView.
And even if the focus is on TcoPDFXCView,
the ShortCuts like "Delete","Ctrl+C","Ctrl+X","Ctrl+V" .... do not work too.
How do I slove this problem?
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: ShortCut Problem
Hi, cfpalan
It is known problem - it occurs because our main UI exists in separate process...
You may try to solve this problem using the new feature (52 build) - [Reference/Named Items/Simple Notifications/Global::CheckKey] in SDK-Help.
Best
regards.
It is known problem - it occurs because our main UI exists in separate process...
You may try to solve this problem using the new feature (52 build) - [Reference/Named Items/Simple Notifications/Global::CheckKey] in SDK-Help.
Best
regards.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 4
- Joined: Wed Jun 09, 2010 3:31 am
Re: ShortCut Problem
Hi,Vasyl-Tracker Dev Team
I do a test in Delphi :
procedure TMForm.PDFXCviewEvent(ASender: TObject; Type_: Integer;
const Name: WideString;const DataIn: OleVariant; out DataOut: OleVariant;
Flags: Integer);
var ZoomValue:OleVariant;
begin
if (Type_=PXCVA_OnNamedNotify) and (Name='Global::CheckKey') then
begin
if DataIn=13 then
showmessage('Press Enter');
end;
end;
There is an error on "DateIn=13",
Could you tell me what is the correct representation ?
Best
regards.
I do a test in Delphi :
procedure TMForm.PDFXCviewEvent(ASender: TObject; Type_: Integer;
const Name: WideString;const DataIn: OleVariant; out DataOut: OleVariant;
Flags: Integer);
var ZoomValue:OleVariant;
begin
if (Type_=PXCVA_OnNamedNotify) and (Name='Global::CheckKey') then
begin
if DataIn=13 then
showmessage('Press Enter');
end;
end;
There is an error on "DateIn=13",
Could you tell me what is the correct representation ?
Best
regards.
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: ShortCut Problem
Hi cfpalan,
It looks like some problem with Variant data type translation in Delphi. In the next build we will add another way to retrieve info about keyboard messages.
in build (53) you will find the required information in the SDK-Help [Reference/Named Items/Objects/Notifications/Keyboard] section.
HTH.
It looks like some problem with Variant data type translation in Delphi. In the next build we will add another way to retrieve info about keyboard messages.
in build (53) you will find the required information in the SDK-Help [Reference/Named Items/Objects/Notifications/Keyboard] section.
HTH.