General information
Category:
Forms & Form designer
>>>>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only