I tested you demos and saw it's crashing when scroll of Panel window. I never liked Panel Window... probably I do not know to use it properly. But it becomes so slow and in this case crashes it. So I decided to make a preliminary demo do sthis scrolling and margins adjustments with a GRID. Frist a used the precious BossTaurus function BT_BitmapSaveFile to create a bmp file and then used it by BackGroundImage on the grid.

I think we can control with this "marvel" resize function of column just to avoid resizing margins columns but scrollable to set it margins left and right ones. Also probably we would control the second grid where displays fields by re-positioning col and width of second grid.

Screen9.png (10.37 KiB) Viewed 3450 times

Well, if my demo1, is not satifying your expectations I would stop now or going ahead. You can feel freely to assume it now from now, too. It's your decision. Let me know.

Sorry for my code not be in OOP because I am very donkey in OOP...
I hope it works for you.