Hey,
I am using the TXTextControl to create and save documents both internal to my application as well as external. Now, if you create a document with a Header/Footer everything works and it saves fine.
However, If you save a document with a page number in the Header/Footer (inserted as a field using txtextcontrol1.fieldinsert()), the contents of the document are overwritten with the Header/Footer contents containg the page number field.
In Summary, a 10 page essay with a footer will save fine. A 10 page essay with footer containing page number will save as a 1 page document with no footer and the body of the document now the footer contents.
Anyone have any ideas how I can fix this?
Thanx,
Chad
I am using the TXTextControl to create and save documents both internal to my application as well as external. Now, if you create a document with a Header/Footer everything works and it saves fine.
However, If you save a document with a page number in the Header/Footer (inserted as a field using txtextcontrol1.fieldinsert()), the contents of the document are overwritten with the Header/Footer contents containg the page number field.
In Summary, a 10 page essay with a footer will save fine. A 10 page essay with footer containing page number will save as a 1 page document with no footer and the body of the document now the footer contents.
Anyone have any ideas how I can fix this?
Thanx,
Chad