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
 How to add a new up/down button and number-box to the RichEdit 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
john_siggy@yahoo.com Posted - Jun 28 2024 : 15:25:36
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...


1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 28 2024 : 15:32:09
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