Create your own toolbar |
[Top] [Chapter] [Previous] [Next] |
Of course it is possible to use your own toolbar with TextDynamic.
You can either use the "wpa Actions" or you can call the programming API directly. Of course You an also do both.
Using actions makes it easy to create a dynamic and customizable GUI, please see Working with Actions (wpa).
If you want to access the API directly please note the interfaces to change character attributes, most important Memo.TextAttr.
For loading and saving please see Get Text into and out of the Editor.Format
The event OnUpdateGUI can be used to update the enable/pressed states of the buttons in the most efficient way. |