Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize an option group
Message
 
 
À
31/03/2008 18:33:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01306572
Message ID:
01307186
Vues:
8
>>>Setting the button count to 0 in the baseclass solves the problem! And it makes sense cause the routine then has to treat all the buttons the same way. But it raises the question of why it doesn't treat them the same anyway. Also, the adjustment in position is not the same for other objects (labels) that are alongside the buttons. (These are separate labels not the button captions.)
>>>
>>
>>What are remaining problems with the class?
>>
>>As for setting button count to 0 - that's the usual solution for "compound" classes.
>
>There are none. I think it's working properly. There is an issue specific to my form but its probably the result of bad design. My button group has 6 buttons. Two of the buttons have a blank caption. The caption label on these 2 buttons is provided by a checkbox placed alongside the buttons so the user can select them in combination. I'm finding that the form resizeobject function adjusts the position of the buttons diffrently than the checkboxes. I presume this is because the one is positioned relative to the form and the other is relative to the container. I could probably solve it by custom classing the whole thing as a unit.
>Thanks for your help.

You're welcome. I guess I was able to solve at least one problem today :) Wish it would be my own problem...

Always glad to help.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform