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
 Lost focus on TImageEnFolderMView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jenswahl

Germany
74 Posts

Posted - May 09 2025 :  02:53:56  Show Profile  Reply
Hello,

on a pagecontrol with two tabsheets there are two TImageEnFolderMView instances, each on one tabsheet. The FolderMView on the first tabsheet works normal, the one on the second tabsheet get no key interact - both with the same settings: [mkiMoveSelected,mkiMiscellaneous].
If I press the right key on the second tabsheet then the FolderMView on the first tabsheet changes to the next image. It seems that the FolderMView on the first tabsheet has every time the focus. But setfocus doesn't help. I use no TImageEn-actions.

What can I do to solve this problem?

Kind regards,

Jens

xequte

39007 Posts

Posted - May 11 2025 :  19:21:09  Show Profile  Reply
Hi Jens

I created a demo to test that:

www.imageen.com/temp/TwoFolderMViews.zip


And I could not reproduce it. Please test my demo.

Also, what version of Delphi do you use?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jenswahl

Germany
74 Posts

Posted - May 12 2025 :  04:11:19  Show Profile  Reply
Hello Nigel,

thank you for the demo, I will test it and reply to you. I use in this case Delphi 11.3.
I found a solution: for each function (first, prior, next, last) I created an action which checks which is the active page of the pagecontrol and than it use the correctly ImageEnFolderMView

Kind regards

Jens
Go to Top of Page

xequte

39007 Posts

Posted - May 12 2025 :  19:56:10  Show Profile  Reply
Hi Jens

Also, in case you mean that your ImageEn actions are activating the wrong TImageEnFolderMView, then you can set the Action.ImageEnMView to the active TImageEnFolderMView.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

jenswahl

Germany
74 Posts

Posted - May 16 2025 :  04:47:30  Show Profile  Reply
Thank you for your support.
Your demo works properly. So I have to looking for what is the reason.
I will try your suggestion.

Kind regards

Jens
Go to Top of Page

xequte

39007 Posts

Posted - May 16 2025 :  16:36:16  Show Profile  Reply
Thanks for letting us know, Jens

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