trichview.com

trichview.support




Re: Chart TRichView


Return to index


Author

Message

Yernar Shambayev

Posted: 06/29/2003 7:20:22


Try this:


var

  oc: TOleContainer;

begin

  oc := TOleContainer.Create(nil);

  if oc.CanPaste then begin

    oc.Visible := False;

    oc.BorderStyle := bsNone;

    oc.Parent := RichViewEdit1;

    oc.SizeMode := smAutoSize;

    oc.Paste;

    RichViewEdit1.InsertControl('', oc, rvvaBaseline);

    oc.OnResize := OnOleResize;

    oc.OnActivate := OnOleActivate;

    oc.OnDeactivate := OnOleDeactivate;

    oc.Visible := True;

    end

  else

    oc.Free;

end;



"Vanea" <[email protected]> wrote:

>

>can I insert into a RVE a chart form word or from excel ?

>

>I just wanna print it from my editor made with TRichView





Powered by ABC Amber Outlook Express Converter