Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Used a define in form object property
Message
De
03/09/1996 22:25:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00006898
Message ID:
00007218
Vues:
64
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform