When their BorderStyle is set to bsNone, TForms usually won't show scrollbars even if the AutoScroll is True and some children controls positions exceed ClientWidth/ClientHeight values.
So, is there any method/hack to "force" TForm to show scrollbars (when needed) even if its BorderStyle is set to bsNone?
Put a TScrollBox on the form, make it Align=Client, put all your controls on the scroll box.
I always use a TScrollBox because it's very flexible. You can add a top-aligned panel to the form (outside the scroll-box) and you've got a non-scrolled area. Having the whole form scroll is not always helpful and it almost never looks good.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With