Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating and adding to a command group/container class
Message
 
To
15/05/1998 18:13:15
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00099878
Message ID:
00099880
Views:
18
>I just created a sub-class of both the command group and container class because I wanted to add some existing command buttons to it and wasn't sure of the best container. I have two questions. Is it better to use the command group for this purpose or doesn't it matter? Any drawbacks to one vs. the other? The second question is - I see that the command group sticks two command buttons in the container. Should I delete those at this level, or create anothe subclass from this and do it there, so I can add my own buttons? I thought that at the highest level you don't want to make too many changes, but wasn't sure about this one.
>
>Thanks for the help.
>
>Sylvia

I like Commandgroup container, because I can place all the code into one method - InteractiveChange. For your own buttons probably better use a container. I personally didn't find playing with adding own classes to standard containers like optiongroup or commandgroup, (or pageframe, etc.) very useful.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform