@wp: Yes, i have used custom columns before but sometimes i stll have an old program to convert.
But it is not difficult to change that the program(s) are small, it only takes some time
For the current program i have set goColSizing to False, the window/data is smaller than the screen width.
@howardpc: Nice trick but like you say it will get called on every mouse move.
Another bad trick is to set the ColWidth to zero in the HeaderSizing/HeaderSized or OnDrawCell events.
Only when i don't know another way i would use this kind of things, hopefully never
@tk: I know of KGrid for years but i have never used it, might be a good time to start.
Hmm, when compiling kcontrolslaz.lpk dated 2017-09-24 i got: kgrids.pas(2945,15) Error: There is no method in an ancestor class to be overridden: "DoAutoAdjustLayout(const TLayoutAdjustmentPolicy;const Double;const Double;const Boolean);"
I suppose i have something wrong, will look into it later, should be in another thread...
Thanks all, i can make it work, wish only more time for programming