ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEFolderMView.FolderInteract possible problem with hot keys
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jrpcguru

USA
266 Posts

Posted - Jan 02 2022 :  14:42:50  Show Profile  Reply
The demo program has this setting:

  IEFolderMView.FolderInteract := [ieboOpenFoldersOnDblClick, ieboLaunchImagesOnDblClick, ieboLaunchFilesOnDblClick, ieboEnableFolderShortcuts,
    ieboEnableFileShortcuts, ieboClickToSortColumns];


When I run the demo program side-by-side with Windows File Explorer (WFE) and try to use the hotkeys, Ctrl+C/V/X to copy/move files between the two programs, I run into some problems. I sometimes fail to press the keys carefully enough, so I miss even with File Explorer. I have tested with my ThinkPad keyboard and Kenesis Gaming keyboard to try to eliminate keyboard errors. And I habitually use the hotkeys even when I am testing the menu options. That makes it hard to get consistent operation. But I think I've got it down to this:

Ctrl+X frequently fails to enable the Paste icon in the demo. When this happens, WFE also fails to paste.
The Cut icon usually enables the Paste icon in the demo. And WFE paste works.

Ctrl+X frequently fails to enable the Paste icon in the demo. When I select a different folder in the demo, the Paste icon is activated and Ctrl+V succeeds. But the display is not updated. I am cutting a file at the top of the list so it should paste, then sort to the top.)

If I use the Cut icon, the Paste icon is enabled. I change to the target folder and Ctrl+V fails, but Paste icon succeeds.

Notice my use of the word "frequently". Just to be obstinate, sometimes it works as expected! I haven't pinned down any consistent situation though.

I get similar behavior from Ctrl+C but I think you've already fixed that.

I am using the demo as its own .exe, not from the IDE.


J.R.

xequte

38610 Posts

Posted - Jan 07 2022 :  01:11:07  Show Profile  Reply
Hi JR

The Explorer demo does not monitor the clipboard for changes or periodically update the button status, so keyboard shortcuts won't be reflected in the UI.

You would be be better to use ImageEn TActions such as TIEFolderMViewPasteFilesFromClipboard or periodically update the UI.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: