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
 How to add a new up/down button and number-box to the RichEdit Toolbar
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

john_siggy@yahoo.com

USA
158 Posts

Posted - Jun 28 2024 :  15:25:36  Show Profile  Reply
Can you please give me a hint on how to add an up/down button and number-box like the button and number-box used for Font-Size on the RichEdit Toolbar? In the past, it was possible to hijack the Brush-Size button and number-box (I know this is not a great practice) as their values were stored in the layers and not the corresponding TImageEnView like it is now.

Regards and thanks again...


xequte

38608 Posts

Posted - Jun 28 2024 :  15:32:09  Show Profile  Reply
Hi John

Unfortunately ImageEn provides no functionality for users to add non-standard controls to the toolbar, only buttons:

http://www.imageen.com/help/TCustomImageEnToolbar.OnAddCustomButton.html

You would be better to roll your own TToolbar for this. It will not be difficult if you use ImageEn actions to handle the functionality of most of your buttons.

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