General information
Category:
Forms & Form designer
We shall agree to disagree.....
>Hi JVP ---
>
>The original post:
>
>"I have a form with a pageframe with three pages. There is an edit button at the bottom of the form outside the pageframe. When the user clicks the edit button the focus should be set on the first object of the page that is active. How do I accomplish this?"
>
>I am in total agreement with your approach at the strategic level. I am never happier than when I can move functionality into a class. But re-read the original post: This is a single problem with a single pageframe. Ed's approach beautifully handles this very simply. My approach takes a different tack yet is also designed for that one pageframe. Both work. Both are flexible for that one situation. In my situation, I was trying to teach the concept of relative addressing of controls through Controls collection.
>
>So...rather than judge the solution on design theory in *this* case, judge it on what the poster needed at the time.
>
>>Oh.. as for the KISS principle, you know what the last word is right??? And that is what I think totally blowing off VFP's OO capabililities is.... stupid. But, that is just my opinion.
>
>I didn't totally blow off OOP. Ed's the one who totally blew off OOP <g>.
>
>Relax, man! Don't prescribe a cast where a band-aid works :)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only