trichview.com

trichview.support




inserting graphs from the clipboard


Return to index


Author

Message

Paul

Posted: 02/21/2005 17:32:29


I am developing my first commercial program that will do specialized

statistical analysis.  After the statistical analysis I want the user to be

able to build a report.  I add text to the RichView component using

rve.AddNL('my text',0,0).  I then insert a graph that I copied to the

clipboard:


  if ( <the user wants a particular graph in the report> ) then begin

    chart.CopyToClipboardBitmap;

    rve.PasteBitmap(false);

end;


This code works, except that the chart is always pasted at the beginning of

the document, not after the last line of text inserted just prior to calling

the insert graph code above.


Any help would be appreciated.


Paul





Powered by ABC Amber Outlook Express Converter