Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement