Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
>>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement