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:
01225793
Vues:
19
>>I mentioned the ctlAutocenter property in the email I sent to you today.

I found the ctlAutocenter property. I have not received an email from you.

>>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.

Well then this control is fairly useless.

I am creating a list type of control which is a fairly normal thing to do with a scrollbar container.

A list usually has an AddItem method to allow the list items to be added at run-time. Therefore the slider portion of the control would need to be resized each time a new object is added to it, to ensure that all of the newly added control is visible.

Basically, the control will not know in design time how big the client area will need to be.

Too bad, it looked promising.




>>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
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform