Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ScrollContainer
Message
De
25/12/2015 08:28:49
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
25/12/2015 08:02:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01629050
Message ID:
01629293
Vues:
68
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform