Question

I have a form with TStringGrid component on it. Property Scrollbars of TStringGrid is set to ssBoth. If i make the window smaller, scrollbars doesnt appear. Instead of this client area of TStringGrid is cropped. I would prefer if scrollbars were disabled if application window has enough size and automatically enabled if I shrink window size under critical value. Do you have any idea what I am doing wrong?

Was it helpful?

Solution

thruthseeker got it. If you haven't either anchored the grid, or otherwise auto-scale it to the size of the window, then it won't change size with the window, and thus won't have its own scroll bars.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top