Sorry, I thought I had - please see the original post.
Of course, I followed your first post. But I cannot reproduce the bug with it, and I tried to explain why this cannot work because the package no longer has fpsallformats in its "uses". I am also referring to your later post saying that you see the bug at runtime which i cannot reproduce either. Therefore I am asking for more detailed step-by-step instructions of what you are doing.
These are the steps which I am doing
- Create a new GUI project
- Drop a TsWorkbookSource
- Set TsWorkbookSource's FileFormat to sfOOXML, and FileName to that of any xlsx file on my dist
- I notice that FileFormat jumps back to sfUser - this is certainly wrong and will have to be fixed
- Drop a TsSpreadsheetInspector
- Set its WorkbookSource to sWorkbookSource1
- Set its Align to alRight
- Drop a TsWorksheetGrid
- Set its WorkbookSource to sWorkbookSource1
- Set its Align to alClient
- fpsAllformats (or xlsxOOXML) to "uses" of the form
- Compile and run
- The grid displays the file assigned to the workbooksource. No issues, no crash.
Please test if these steps work for you too. If they do compare where you are doing something differently.