[DevExpress Support Team: CLONED FROM T206728: Setting a TcxGridDBLayoutView's Controller.Customization to True trows an Integer Overflow]
Paulo,
I understand your problem. I managed to create a smaller test program without any link to third party libraries (I hope).
I found something interesting though : If I build the project by putting all DCU files in a DCU folder (located in the project's directory), I have the problem. If, in my project properties (Menu Project -> Options -> Delphi Compiler), I remove the path in "Unit output directory", then it works !
I have no idea why !!
Here's the small project (attached file). Run it (Cameleon.exe), then select "DevExpress -> Layout Bug Test" from the menu and click the "Customize" button.
Now, if you want to compile it, make sure to change the path for the DCU. Compile with and without putting the DCUs in the DCU folder. Run the program with each settings and see if you encounter the problem (Integer Overflow).
The "Integer Overflow" exception occurs on displaying a Customization Form for a layout control, a grid's Layout View, or a grid's in-place Edit Form in certain cases
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.