Recently installed PB10, with a surprise discovery, PB10 has supported custom paper size, such as: DataWindowdw_report.modify ("DataWindow.Print.Paper.Size = 256") DW_REPORT.MODIFY ("DataWindow.Print.customPage. Length = 270 ") DW_REPORT.MODIFY (" DataWindow.Print.customPage.Width = 390 ") is set to 270 mm, and the width is 390 mm, which is very convenient, and it can be seen when preview. But there are certain regrets, and the procedures written in my PB9 are upgraded to the PB10, and I have lost a lot of code, and I have never had problems from PB5 until PB9. These are some basic class libraries that I usually accumulate, make me I have never dared to upgrade to PB10. I don't know if you have the same problem.