Unit
wpDefEditor
Declaration
TWPToolsEditor = class(TForm)
Hierarchy
TForm <--TWPToolsEditor
Subclasses
None
Description
This is the default editor of WPTools 5. It is used by the IDE but can also be used in your application whenever you need a popup editor for formatted text.
Simply create an instance of the form
editor := TWPToolsEditor.Create(nil); |
and display it with
If you need to load text you can access the internal TWPRichText:
editor.WPRichText.LoadFromFile(...) |
You can also access the menu which is hosted by the action data module:
editor.WPDefAct.Info1.OnClick := MyOwnInfoDialogProcedure; |

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