Mike Lewis
Programmer
I need to place a vertical scrollbar on a form.
If I create the form in the Form Designer, I can simply go to the property window and set the ScrolBars property to 2 - Vertical.
However, this particular form is a PRG-based form. I tried writing THIS.ScrollBars = 2 in the Init, but this has no effect. This is consistent with the Help, which says: Read/write at design time; read-only at run time.
So, does anyone know a way of adding scrollbars to a form that is created programmatically, rather than through the designer?
Because I wish to publish this form, I want to base it on the built-in VFP form class, not one of my own form classes. I am working in VFP 9.0, but would ideally like a solution that works in 7.0 and above.
Thanks in advance.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)