Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP Instructor Knocks VFP
Message
De
08/09/2000 14:10:55
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00413034
Message ID:
00414302
Vues:
25
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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform