Jump to content

Recommended Posts

Posted

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

Posted
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?

Posted

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

Posted
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

 

Posted
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.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...