Change Names of Document Tabs
Posted: Tue Aug 31, 2021 1:03 am
After making changes in the IPXC_DocSrcInfo from the TPXV_Control, the name displayed on the document tabs across the top do not change.
FControl.Frame.View.DocViewsArea.DocViews.Doc.CoreDoc.SrcInfo.CustDispTitle:= 'New PDF';
FControl.Frame.View.DocViewsArea.DocViews.Doc.CoreDoc.SrcInfo.CustDispFileName := 'New PDF.pdf';
FControl.Frame.View.DocViewsArea.DocViews.Doc.CoreDoc.SrcInfo.CustFileName:= 'New PDF.pdf';
I'm working with new files that haven't been saved yet. They just get the name "New Document" and I want to change that name.
How do I change the name appearing on the document tabs?
--Jeff
FControl.Frame.View.DocViewsArea.DocViews.Doc.CoreDoc.SrcInfo.CustDispTitle:= 'New PDF';
FControl.Frame.View.DocViewsArea.DocViews.Doc.CoreDoc.SrcInfo.CustDispFileName := 'New PDF.pdf';
FControl.Frame.View.DocViewsArea.DocViews.Doc.CoreDoc.SrcInfo.CustFileName:= 'New PDF.pdf';
I'm working with new files that haven't been saved yet. They just get the name "New Document" and I want to change that name.
How do I change the name appearing on the document tabs?
--Jeff