Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find out the Class where the property was defined
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01082552
Message ID:
01083223
Vues:
12
>>> Every object is translated to the same language.
>>> But the same caption doesn't translate the same in all places.
>>> For example, when translating to Portuguese:
>>>
>>> The Caption «Quote», can have different Portuguese Translations depending on the Context.
>>> ...
>>
>>I don't see, why You use the Class as the key. Why do You not simply a "Text-Key"-Property
>>to Your classes and use this. like 'Quote-Long', 'Quote-short'. By this You could even use the
>>same translation for several purposes if You like
>
>
>Well, I don't want the developers to be worried with creating Context Keys each time they write Texts in Captions, Status Barr Text and ToolTips.


Yes, sorry I already followed the thread further down.

On the other hand someone definitely needs to worry about the context and will have to tell the Developer "Please do use this class" (by this implicitly defining the context). If so, they also could
get Context-Key's for specific objects.

To me this sounds highly performance problematic and somehow complicated.

But certain tasks sometimes demand certain actions that are not easy to see from the outside.
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform