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 enable the BrushSize up/down button in iexToolbars
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

john_siggy@yahoo.com

USA
158 Posts

Posted - Jun 26 2024 :  00:44:25  Show Profile  Reply
Hey Nigel,

Several buttons of the RichEdit toolbar are greyed out. Want to permanently enable the up/down button:
_AddButton( IEViewToolBrushSize_Button_ID, ImageEnViewBrushSize.Create(Self), ITBRES_UPDOWN_24, ivbImageEditTools in viewButtons ); Can you please tell my how to enable this button?


Regards,

john_siggy@yahoo.com

USA
158 Posts

Posted - Jun 26 2024 :  12:34:08  Show Profile  Reply
Figured it out: Add an Update event in IexActions.pas and set Enabled := True.

Question: Why, when you select a font color from the RichEdit Toolbar, does the color square on the toolbar not change color promptly. One must click on the target text, or wait a long while for the square to change color. Is there a way to make the change more immediate.
Go to Top of Page

xequte

38608 Posts

Posted - Jun 27 2024 :  21:52:48  Show Profile  Reply
Hi

You shouldn't need to modify the source. Use the OnActionUpdate event:

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

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

xequte

38608 Posts

Posted - Jul 02 2024 :  02:21:21  Show Profile  Reply
 
when you select a font color from the RichEdit Toolbar, does the color square on the toolbar not change color promptly.


I cannot reproduce that. Can you give me precise steps? Also, what version of Delphi are you using?

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

john_siggy@yahoo.com

USA
158 Posts

Posted - Jul 04 2024 :  22:56:43  Show Profile  Reply
Nigel,
Thanks for looking into the delayed color box. Seems the problem was in my code which I have fixed. Sorry about that.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: