dkeene Posted April 24, 2020 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
Sherzod Posted April 24, 2020 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
dkeene Posted April 24, 2020 Author 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
Sherzod Posted April 24, 2020 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
Sherzod Posted April 24, 2020 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
dkeene Posted April 24, 2020 Author Posted April 24, 2020 Thank you so much for these information. I was searching over the internet... 1 Quote
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.