The main form of this example contains the following elements:
1. RichEditControl - to show the Table Of Content (TOC)
2. TextEdit - to enter a text for a TOC field header
3. SpinEdit - to specify a nesting level of a TOC field
4. MemoEdit - to enter the main content of a current TOC level
In this example, we also demonstrated how to change the predefined formatting of TOC fields.
Along with the source code of the example, you can also find a video illustrating how the sample works.
↧
How to dynamically generate Table Of Contents by adding TOC field with different nesting levels
↧