TWPDefaultActions Component
Properties Methods Events

Unit
wpDefActions

Declaration
TWPDefaultActions = class(TComponent)

Hierarchy
TComponent <--TWPDefaultActions

Subclasses
None

Description
The component TWPDefaultActions make it easy to use the default actions (TWPDefAct). You can place it on your form, add an item for the controlled TWPRichText object to the collection ControlledMemos and start the application. The component TWPDefaultActions make it easy to use the default actions. You can place it on your form, add a link to the controlled TWPRichText object in the collection "ControlledMemos" and start the application.
The menu will be activated by the property 'AssignMenu'. Using the OnInit you can add custom menu items or modify the exiting items. The other events make it possible to override the default behavior of certain actions - i.e. open a dialog which loads text from a database instead of showing the file open dialog in event OnLoad.

The form TWPToolsEditor uses the actions and menus defined in TWPDefAct:



Introduced Properties
AssignMenu 
ControlledMemos 
 WPDefAct 

Introduced Methods
Create 
Destroy 

Introduced Events
OnClose 
OnCloseFile 
OnExport 
OnInfo1 
OnInfo2 
OnInit 
OnLoad 
OnMailTo 
OnNew 
OnSave 
OnSaveAs 
OnShowGutter 
OnShowHorzRuler 
OnShowThumbnails 
OnShowVertRuler 


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com