Hi Geoff.
I have a problem whereby my scroll bars disappear if I make the height of of the editbox less than 37.As Hilmar already mentioned, you need to be sure that the edit boxes are tall enough.
I just wanted to jump in here and let you know that if you are going to go with his solution of the expnading edit box, we have one of those in Chapter 4 of
1001 Things You Wanted to Know About Visual FoxPro.
The expanding edit box (Example: CH04.VCX::edtBase)
One of the shortcomings of the Visual FoxPro base class edit box is that it may be too small to allow the user to see all the text in the memo field being displayed. We can solve this problem easily enough by adding a few properties to our base class edit box and a couple of methods to shrink and expand it.
At first glance one may be tempted to automatically expand the edit box when it gets focus and shrink it again when it loses focus. However, on reflection you will probably agree this would not make a good interface design and would, at the very least, be somewhat disconcerting for the end user. Therefore we have opted to allow the user to expand and shrink the edit box by creating a shortcut menu called from the edit box RightClick method. This menu also gives the user the ability to change the font of the text displayed in the edit box. (Your end users will appreciate the ability to ease the strain on their eyes by enlarging the font, especially when the memo fields to be edited are lengthy.)
So if you have the book, there is no need to roll your own < s >.