Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Philosophical question
Message
 
 
To
29/04/1998 18:59:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00095802
Message ID:
00095953
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform