Board index » delphi » TOleContainer: Replace Server File Menu Functionality - MS Word, Corel WordPerfect
Kevin
Delphi Developer |
Sun, 16 Nov 2003 22:59:31 GMT
TOleContainer: Replace Server File Menu Functionality - MS Word, Corel WordPerfect
I would like to be able to replicate a subset of the File menu functionality
for MS Word and Corel WordPerfect documents, edited "in place" in a TOleContainer. I had hoped to be able to do so using the functionality of the Server program: for example I want to be able to call up WordPerfects Print Dialog to print the document. I have tried a number of combinations of code as follows, in an attempt to procedure TfrmNativeDocumentEditor.actWPPrintExecute(Sender: TObject); procedure TfrmNativeDocumentEditor.actWPPrintExecute(Sender: TObject); // wpPerfectScript is a PerfectScript TOleServer Can anyone help out? Kevin |