dkeene Posted April 24, 2020 Share Posted April 24, 2020 Hi For TuniHTMLMemo there is a ShowToolBox option. Is there any way to show/hide the individual tools? For example I want user to have access to Bold, Underline, Italic, but not Font/Size etc. I could write my own tool buttons, but getting and setting the selected html text seems difficult just using delphi as the getSelected is not exposed. Thank you Doug Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 24, 2020 Share Posted April 24, 2020 35 minutes ago, dkeene said: For TuniHTMLMemo there is a ShowToolBox option. Is there any way to show/hide the individual tools? For example I want user to have access to Bold, Underline, Italic, but not Font/Size etc. Hi, Have you tried searching the forum? Quote Link to comment Share on other sites More sharing options...
dkeene Posted April 24, 2020 Author Share Posted April 24, 2020 HI I found a post from you function afterrender(sender, eOpts) { var me=sender; var lbtn; var ns; lbtn=me.toolbar.getComponent("createlink"); ns=lbtn.nextSibling(); lbtn.hide(); ns.hide(); } So I will try to find the names of the buttons Thanks Doug Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 24, 2020 Share Posted April 24, 2020 5 minutes ago, dkeene said: So I will try to find the names of the buttons fontSelect bold italic underline increasefontsize decreasefontsize forecolor backcolor justifyleft justifycenter justifyright createlink insertorderedlist insertunorderedlist sourceedit Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 24, 2020 Share Posted April 24, 2020 1 hour ago, dkeene said: I could write my own tool buttons, but getting and setting the selected html text seems difficult just using delphi as the getSelected is not exposed. Quote Link to comment Share on other sites More sharing options...
dkeene Posted April 24, 2020 Author Share Posted April 24, 2020 Thank you so much for these information. I was searching over the internet... 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.