Controls and Localization, Part II - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jstevenco
Posts: 20
Joined: Tue Jan 01, 2008 1:27 am

Controls and Localization, Part II

Okay, I thought I had this whipped based on my earlier experience with the combobox, but I am currently stymied by the same problem with an editbox. I have tried localizing the Text field with no success. I also tried defining a localized string property for the project which I tried to associate with the Text field. In both cases I get nothing in the edit box. If I assign a Default Value for the edit box, I get that value regardless of my language selection.

Has anyone done this successfully?

Thanks in advance,

Steve
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please note that the value of an Edit Box is given by its property. Therefore, if you need to localize the value you must localize the property of the Edit Box.

For example, you create a new property in the "Install Parameters" page and you set it in the "Property Name" field of the "Properties" page for the edit box. When you localize the property, the default value of the edit box will be automatically localized.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jstevenco
Posts: 20
Joined: Tue Jan 01, 2008 1:27 am

Hi Cosmin,

Thanks for the reply. It's the various combinations of the possibilities (Text, Property, Default Value, etc) in conjunction with the different ways that other items are localized that had me confused :P .

I proceeded as per your suggestion and got the desired behavior.

Cheers,

Steve

Return to “Common Problems”