Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Used a define in form object property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00006898
Message ID:
00007236
Vues:
85
>>>>If you're doing what I think you're trying to do and want a dynamic caption
>>>>at run time, add
>>>>This.Caption = STR(_DBLCLICK,5,3)
>>>>to the Init of the caption
>>>
>>>Hi Roger,
>>> Yes it look like this but it is for all object with caption in the form so at run time it not the best. It is for change between a french or an english application and if it was a define it will not affect the performence at run time just at compile.
>>>
>>>Thank's for your help Roger
>>>Rock
>>
>>You still can do it. In YourForm.Init method include a statment like this for each object you want to change caption:
>>ThisForm.AObject.Caption=AObject_CAP
>>
>>You must make 2 header files, one for French and one for English version. In each file you define all AObject_CAPs. You can copy the needed header file into your project directories for the language you want.
>
>Hi Roger,
> It's sound good but what's for performence. is it very affected ?
>
>Rock

I'm Sorry Paul i think that Roger answer me
Thank's Guys
With this way i will not make a mistake.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform