I apologize in advance if this question has already been asked or the answer is trivial, but I could not find what I was looking for by searching the forums and I've also been looking at the ActiveX SDK Manual and it's also not helping much.
I'm developing a powerbuilder application that does not use your typical/expected keyboard shortcuts (unfortunately). I need the XChange Viewer control to save when I press F2 on my keyboard, instead of the default CTRL+S.
I've been getting pretty much nowhere by trying something along these lines (this is powerbuilder code):
Code: Select all
ole_pdf_view.object.SetProperty("General.AllowAllAccelerators", 1, 0)
ole_pdf_view.object.SetProperty("Commands[#57603].Shortcut.Modifiers",0)
ole_pdf_view.object.SetProperty("Commands[#57603].Shortcut.Key",113)
ole_pdf_view.object.SetProperty("Commands[#57603].ShortcutText","F2")
I'm using version 2.5.194.0 of the ActiveX DLL.
Thanks,
John