>I have a form on which I add containers programmatically at
>run-time.
>
>The Form's Scrollbars property is set to 3, and I can see the
>scroll bars in design mode, but when I run the form, I dont see
>the scroll bars.
>
>The Help says:
>"The Scrollbars property setting is evaluated for a form when the form is instantiated."
>
>Does this mean before or after the Init fires, which is when I add my
>containers.
>
>I have tried adding a dummy control with top & left set to 5000 to force
>the scrollbars on, but it still doesnt work.
>
>Anyone know what to do?
>
>Thanks
WAG, but when you add the containers at run-time, do you set the Visible property to .T.? By default, they are added with it set to .F. and if no
visible controls are beyond the form's borders, the scroll bars will not appear.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao