How to show scrollbars in TScrollBox after it has been made visible again?
- by aleluja
Hi,
I've ran into one small problem. I am dynamicaly generating some controls and place them on a TScrollbox component. But i noticed that if scrollbox is visible, user can clearly see each of the controls being created and placed. So it looksl ike lots of work is being done and it is slow.
I hid the scrollbox and generated all the controls on it, which took much less time and no flickering and alike. But here's the problem. When i unhide the scrollbox, its' scrollbar doesn't appear untill i actually resize the form. (The alignment of scrollbox is alClient)
Any ideas on how to fix this?
Tried repainting, but it didn't work. Refresh didn't work either.
Thank you