Some versions of Delphi have a bug when applying VCL styles to Microsoft's HTML help viewer, which is used to display CHM help files on the Windows operating system: the table of contents may be empty, partially empty or poorly drawn.
To resolve this issue, follow the instructions described here: https://stackoverflow.com/a/56552284