It seems to behave as advertised when SCROLLBARS is assessed in a subclass:
public ot
ot=createobject('mf')
ot.addobject('c1','container')
c1=ot.c1
c1.visible=.t.
c1.height=600
ot.show
define class mf as form
scrollbars=3
visible=.t.
enddefine
Appologies for not trying this first!
>When I create a form and set SCROLLBARS to 3 through the visual designer, and then add a container and make its dimensions larger than the form's, the scrollbars appear (as expected).
>
>But, when I do it in a PRG, the scrollbars do not appear. Here's the code - all assistance appreciated!
>
public ot
>ot=createobject('form')
>ot.scrollbars=3
>ot.show
>ot.addobject('c1','container')
>c1=ot.c1
>c1.visible=.t.
>c1.height=600
Imagination is more important than knowledge