Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Philosophical question
Message
From
29/04/1998 19:15:23
 
 
To
29/04/1998 18:42:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00095802
Message ID:
00095833
Views:
25
>>>>My .02 worth.
>>>
>>>...and worth it;) But in this particular case had the code included This.parent I'd still be facing the same issue, since the parent would be the page frame itself.
>>
>>Exactly! So what do you do but make concessions or create command button classes specifically for your pageframes?
>
>You've hit on the heart of why I called it a philosophical issue. In this case, do I create command button classes specifically for this (anticipating I might again need this) or make concessions? I'm not really expecting an answer as in "Go forth and make classes", because I suppose you can overclass, or would that be declasse(where's that accent grave when I need it:) But seriously, I know that some people sub-class extensively perhaps for this very reason.

In another language that I use, I like the idea of unique names of controls. It doesn't matter what control is contained within what. A container is _not_ necessarily the parent. Like Jim said, maybe this is addressed in Tahoe. I know that some typing could be eased as well. I know I love typing ThisFormSet.Form1.MyPageframe.Page6.MyOtherPageframe.Page2.MyContainer.MycommandButton.MyMethod :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform