Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP Instructor Knocks VFP
Message
From
08/09/2000 14:10:55
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00413034
Message ID:
00414302
Views:
42
An example of the importance of inheritance on the UI level:

I've got a TaxTexbox class used in my applications. Because I saw a feature in the Navision database that allowed users to quickly enter data I implemented something simular in my framework.

when a user types a character the textbox breaks the link to the controlsource and allows to input characters in a datefield. When you leave the textbox the controlsource is restored.

BJ = beginning of the current year.
BW = beginning of the current week
MA = monday of this week
H = Current date.
EJ = End of this year
BJ + 1 = Beginning of next week
EJ - 1 = End of last week
etc..

I implemented the proper code in the class, Recompiled my projects, and viola the functionality works for all dates in my projects. Try that for you VB projects, and I'll get back to you next week....

Walter,




>As for the value of inheritance I remember that at the UI level the importance of inheritance is significant. Do you stand corrected ?
>>
>
>Inheritance is important. However, the lack of it does not make the problem insurmountable. You just need to solve the problem in a different way..
>
>>
>I don't believe you've developed a robust framework in just a few weeks. This is impossible. I'll wait and see the reactions of our fellow UT-ers when they visit Devcon.
>>
>
>Good enough...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform