>I have: mainform containing a SBC (container) with inside a container ViewFrame and inside that numerous containers ClientArea = which is a container containing one questions with 3 mulitplechoice answers.
>Adding a new Question will ultimately add a new ClientArea on bottom. One can see the (new) CA, if is placed outside the visible area only by scrolling with the vertical scrollbutton.
>Idealy it would be that on a new adding the whole ViewFrame would go up so that the new CA is visible without any users tough of the vertical scrollbutton.
>
>So in this respect, since I am using ARG scrolling SBCONT.vcx how to make the CA visible?
I haven't used that in a while... actually it was someone else's job, so I never went through its PEM set. Does it automatically scroll to show the control with focus? Or, alternately, it should have some way to scroll it programmatically. Also, I'm not sure how ARG scroll container behaves when you add a control below the others - these should be registered somehow, as it should know when to recalculate its inner height and resize the slider on the scrollbar.
Looking at the ctl32_scontainer class, I see it has ctl32_scrolltocontrol(toCtl) method - you could probably use that.