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
 Toolbar always appears even when form closed
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

john_siggy@yahoo.com

USA
167 Posts

Posted - Apr 16 2020 :  14:14:47  Show Profile  Reply
Trying to display a toolbar for editing a TextLayer. Problem is the Toolbar is never completely closed but "hangs around" even when the form (with the TextLayer) is closed.

At first try the toolbar disappears when the form is closed. Re-opening the form brings back the toolbar BEHIND the current form. The toolbar moves as the TextLayer moves but remains behind the form.

The toolbar should not remain showing but disappear when form closed. I have tried focusing on another control before closing and other methods of "closing" the toolbar but nothing works.


My Code Appears in the Form Create

// When a layer is selected, show style controls beneath
IEGlobalSettings().LayerSelectionToolbar.Buttons := [ivbLayersStyle, ivbLayersProps];
IEGlobalSettings().LayerSelectionToolbar.Position := iepBelowSelection;
ImageEnView1.AutoToolbars := [ievLayerSelection];


xequte

39053 Posts

Posted - Apr 16 2020 :  20:15:36  Show Profile  Reply
Hi John

Please email me for a fix to this.

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

john_siggy@yahoo.com

USA
167 Posts

Posted - May 04 2020 :  07:46:31  Show Profile  Reply
Thanks for the beta 9.0.0.x. Unfortunately the Toolbar has not been repaired. A grey box the size of the toolbar is left on the parent form when the child form, that invoked the toolbar, is closed.
Go to Top of Page

xequte

39053 Posts

Posted - May 07 2020 :  19:28:16  Show Profile  Reply
Hi John

I can't reproduce that, but we've been working on various hover toolbar issues. Please try the latest beta that I've just emailed you. If you are still seeing the issue, create a very simple demo and email it to me.



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

john_siggy@yahoo.com

USA
167 Posts

Posted - May 08 2020 :  20:06:19  Show Profile  Reply
Hey Nigel,

I discovered the problem of a toolbar artifact occurs when you go from editing text with the toolbar present, to clicking on a blank/un-annotated region of the ImageEnView. A white rectangle appears and is hard to get rid of.

Checked your new Beta and the problem now only occurs on the secondary form. That is the artifact is created on the 2nd form but does not linger past 2nd form closure.

Tried to email a simple project that demonstrates the problem but not accepted at your end. Can try again if needed.

Cheers,

John
Go to Top of Page

john_siggy@yahoo.com

USA
167 Posts

Posted - May 08 2020 :  20:08:41  Show Profile  Reply
Have attached file:

attach/john_siggy%40yahoo.com/20205820744_ToolbarArtifact.zip
3720.23 KB
Go to Top of Page

xequte

39053 Posts

Posted - May 09 2020 :  21:46:31  Show Profile  Reply
Thanks. Your demo got it for me. I'll have a fix for you on Monday.

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

john_siggy@yahoo.com

USA
167 Posts

Posted - May 10 2020 :  00:10:04  Show Profile  Reply
Tested toolbar in my app and it works well with images. Thanks for the improvements...

John
Go to Top of Page

john_siggy@yahoo.com

USA
167 Posts

Posted - May 10 2020 :  21:26:26  Show Profile  Reply
One last problem with Toolbars and TextLayer:

With LayerOptions set to [loPreventOutOfBounds] so annotations stay inside the viewport move the text to the far top, bottom, left and right.

The toolbar appears if the text being edited is pressed against the top or left border but does not appear when pressed against the right or bottom border. Works in the middle only having a problem with the extrema...


Regards..
Go to Top of Page

john_siggy@yahoo.com

USA
167 Posts

Posted - May 12 2020 :  08:48:40  Show Profile  Reply
Regarding One Last Problem above.

Of the 4 corners of the screen, the toolbar only appears in one corner, the upper left. The other 3 corners fail to invoke the toolbar. For example move the text box to the upper right corner and the toolbar disappears.
Go to Top of Page

xequte

39053 Posts

Posted - May 12 2020 :  18:03:46  Show Profile  Reply
Hi

The toolbar will not be shown if the layer is too close to the edge of the screen. Though I've made the feature less aggressive in the current beta.

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