Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ctl32_scontainer.vcx Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01225385
Message ID:
01225714
Vues:
14
>No, it's not that.
>
>If you look at the 2nd link I provided in my original post, you will see that the client
>container gets moved.
>
>I found that there us an autocenter control, which I set to false.
>
>While the client control no longer gets centered, it is never resized to display
>all the controls on it.
>
>It's too bad because this control looked promising.
>

Kevin:

I mentioned the ctlAutocenter property in the email I sent to you today.

As far as the client container resizing to show all the controls in it, I think that maybe there is a little misunderstanding here, the ctl32_container allows you to put a big container with your controls inside it, and it will display scrollbars so you can navigate this big client container in a small viewport.

You have to make the client container with your controls in it as big as you need it, you are not supposed to expect it to resize itself at runtime.

Quoting from www.ctl32.com.ar:

"Think of the scrollable container as a PageFrame that can have only one page, and of your own container as a Page. The hierarchy level for your controls will be the same as in a PageFrame-Page scenario."

If you need to add controls at runtime to the client control, check the latest verison that allows to dinamically change client containers, or resize them.

Carlos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform