Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ScrollContainer
Message
From
25/12/2015 10:33:52
 
 
To
25/12/2015 08:28:49
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01629050
Message ID:
01629295
Views:
67
>>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.
Dragan,
correct, I am looking for the PEM(s) which enable me to programmatically move the inner container inclusive the scrollbuttons. Just to move the innercontainer as Yousfi suggested is not the correct way, this will result in an incorrect UI.
The population of the inner container is something which is not part the class, new items are added with ADDOBJECT() position of the new object is calculated with the position of the exsisting objects.
Rgds,
Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform