A while back, I needed a textbox to automatically resize itself as the user resizes the form. This is the code that I used in the Resize event of the form:
txtPageTotals.Move 0, 0, ScaleHeight, ScaleWidth
It works, almost. This textbox can potentially hold hundreds of rows and I need both scrollbars. For some reason, the form opens with the scrollbars partially hidden on the side or underneath the bottom of the textbox while the user is resizing the form. The user has to "play" with the resize quite a bit to get the "perfect" dimensions that will expose both scrollbars.
Any ideas on how to stop this and make the scrollbars accessible at all times?