I would take a close look at the Alert control, and look to adding a  
similar "show" method specifing a parent.

then I would make the RTE control but getting a canvas and dropping  
the RTE control onto it, and the ok cancel buttons, then start to add  
the methods similar to the alert class with the one single static  
"show" method. I use this all the time for popup forms.

And if you get real crazy you can make an abstract popup form class  
that extends canvas and hass all the popup methods in it, then just  
use that to drop the RTE and buttons onto instead of a canvas. then  
your away laughing.

Hope you get what I mean from this dribble.....I need coffee!

Cool

Campbell A.

Quoting Bruce Denham <[EMAIL PROTECTED]>:

> You could put the RTE inside a Panel that has a ControlBar for putting
> in your OK / Cancel buttons. And then hide the RTE's controlBar by
> setting showControlBar = false.
>
> Or, using a more sophisticated approach, you could extend the RTE to
> get access to the protected controlBar, on which you could then add and
> remove children -- you could remove the existing buttons and add your
> OK/Cancel buttons.
>
> Bruce
>
> --- In [email protected], "Daniel Siviter" <[EMAIL PROTECTED]> 
> wrote:
>>
>> I want to be able to use the RichTextEditor in a popup (as a
> ok/cancel
>> dialog), but unfortunately due to the awkwardness of the design, I
>> can't. Preferably, the toolbar would be seperate to the TextField
> that
>> it is attached to. Any ideas?
>>
>> Thanks in advance.
>>
>
>
>


Reply via email to