Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Customize RichTextItem Toolbar

    Hi,

    I'm looking to add a custom button to the RichTextItem toolbar. What would be the best way to go about getting a handle to the toolbar?

    I've looked through the forums and it was mentioned to use the autoChild system. I've tried the following approaches but each call is returning null.

    RichTextItem rtItem = new RichTextItem();

    rtItem.getCanvas();
    rtItem.getCanvasAutoChild("toolbar");
    rtItem.getFormItemAutoChild("toolbar");
    rtItem.getCanvasAutoChild("toolArea");
    rtItem.getFormItemAutoChild("toolArea");


    Thanks

    #2
    See docs: AutoChildren are often not created until draw.

    Comment

    Working...
    X