12-06-2019, 08:40 AM
Hi guys,
I have a grid on a form, and when the user resizes the form, I want to resize individual columns in the grid. I catch the resize and set the number of pixels to adjust Column width by, in the Forms OnAsyncResize, but the size of the grid is not changed. I suppose it is because I use OnAsyncResize. However, the OnResize is not fired when I resize the form by pulling it.
I have tried Grid.invalidate and Grid.Update but not luck.
Does anyone have any ideas of what I could try ?
Regards
Soren
I have a grid on a form, and when the user resizes the form, I want to resize individual columns in the grid. I catch the resize and set the number of pixels to adjust Column width by, in the Forms OnAsyncResize, but the size of the grid is not changed. I suppose it is because I use OnAsyncResize. However, the OnResize is not fired when I resize the form by pulling it.
I have tried Grid.invalidate and Grid.Update but not luck.
Does anyone have any ideas of what I could try ?
Regards
Soren