Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Philosophical question
Message
 
 
À
29/04/1998 18:59:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00095802
Message ID:
00095953
Vues:
23
Sylvia,

So make your container smarter. Parameterize it to include an Orientation property, or have the container Init sense if it's been dragged to a vertical shape and just reposition the buttons accordingly. That's not very hard to do at all.

You can always drop the container on the form, resize it and reposition the buttons at design time too. But I wouldn't subclass it just for the layout issue.

>Thanks, I was considering doing that, and that probably is the way to go here. But doing that means I lose some flexibility in button placement and size (for example, the buttons in question for this app are vertically aligned). So then I have to create one set vertical and one set horizontal! That's when I started thinking about this whole issue and thinking "Geez, how far do I want to go with the classes?"
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform