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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top