Add Menu Commands

[Top]  [Chapter]  [Previous]  [Next]

We need at least load and save commands in the toolbar.


So we add 2 menu items with this code:


private void Loadmenu_Click(object sender, System.EventArgs e)





private void SaveMenu_Click(object sender, System.EventArgs e)





The method wpaProcess takes as parameter the name of a WPA action. Using this action names is the easiest possibility to execute standard commands. You can use the test application to test the available actions. Note that the actions are also used inside the XML description for the tool bar.


Note: PDF creation is always available (without license in unregistered mode).

Please try it out using: wpdllInt1.wpaProcess("DiaExportToPDF","");

[addmenucommands.htm]    Copyright © 2007 by WPCubed GmbH