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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Questions about the TImageEnView Toolbar

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PeterPanino Posted - Jul 05 2020 : 13:51:22
1. I have assigned a popup menu to ImageEnView1.PoupMenu. Unfortunately, each time I right-click on ImageEnView1 to show the popup menu, the Toolbar also shows up. This is rather annoying. Is there a way to show the Toolbar only with LEFT-CLICK and not with RIGHT-CLICK?

2. I have set ImageEnView1.MouseInteractGeneral.miSelect to TRUE. I also set these AutoToolbars properties:



Now, each time I try to make a SELECTION with the left mouse button, the big toolbar comes up for the fraction of a second. An then, after having finished the selection, the Selection Toolbar comes up:



Then, to hide the selection, I click again on the image. But this makes the big toolbar reappear, which is unwanted.

How can I avoid all these unwanted toolbar appearances?
9   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 09 2022 : 20:57:23
In the next week or so.

Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Mar 09 2022 : 07:03:24
When will this update (10.3.5) be released?

Yogi Yang
xequte Posted - Mar 06 2022 : 23:11:03
From v10.3.5, both toolbar and popup menus support customization.

Nigel
Xequte Software
www.imageen.com
xequte Posted - Jul 07 2020 : 19:49:29
OK, I'll look into it for a future version.



Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Jul 07 2020 : 03:45:31
 
If customers disagree with me on this point, I'm happy to reconsider.


I strongly disagree. I am building productivity tools for "power users". They are very much interested in customizing their toolbars and context menus.

A built-in customization menu would also have the advantage to be shown in the chosen language.

Customization of toolbars is a very common feature in many applications: Right-click the toolbar and click on "Customize...". It should be that simple for the user (and for the developer).
xequte Posted - Jul 07 2020 : 01:18:23
Hi Peter

We considered whether we should expose the customization functionality of the toolbars and popup menus, but decided against it. It seems to be much less common for users to customize their toolbar buttons these days.

If customers disagree with me on this point, I'm happy to reconsider.

Unfortunately there is not a good way to access an array of all available buttons and their captions. Please take a look at iexToolbars.pas to see what I mean. In most cases they are ImageEn actions, so the caption localization is handled by the TAction code.



Nigel
Xequte Software
www.imageen.com
PeterPanino Posted - Jul 06 2020 : 04:05:44
Discovered the ImageEnViewToolbar demo:

\Demos\Other\ImageEnViewToolbar

...which contains a sort of ETCK (Embedded Toolbar Construction Kit) for the Developer, but not for the common user: When exposing an Embedded-Toolbar customization UI to the common user, a check-list containing names like "Open Image" instead of "ivbImageOpen" would be preferable.

The BUTTON CAPTIONS could be used for that purpose. But how to get the button captions?

This one gets the internal button-name:

System.TypInfo.GetEnumName(System.TypeInfo(TImageEnViewButton), enum);


But how to get the button caption?

For example, when building a Toolbar Customize Contextmenu filled with all the Button Captions. Would be nice if it would be BUILT-IN.

Could you give a hint on how to achieve that?
PeterPanino Posted - Jul 06 2020 : 02:16:01
Because of these issues, I have decided to get rid of the Auto-Toolbar feature and rather make use of the built-in context-popup-menus:



... and embedded toolbars.

Ideally, a CMCK (Context Menu Construction Kit) and an ETCK (Embedded Toolbar Construction Kit) would help to build completely customized context-menus and embedded-toolbars, where every single command on these context-menus and embedded-toolbars could be customized ...
xequte Posted - Jul 05 2020 : 20:13:19
Hi

The question is, why is the toolbar not showing up already. It appears when you click on the TImageEnView (right, left or selecting) because it focuses the control. What is the focused control before that? We might need to tweak the algorithm...



Nigel
Xequte Software
www.imageen.com