Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5512 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

Solution / ??? Dynamic Labels

Description: I have been playing with global calculations for a while and this the first fruit from that investigation.

This little example lets you change the language of the labels in your solution without scripting (other than on startup).

I think its pretty powerful stuff.

Have fun...

Working Under:

Solution Status: Finished

Pre-requisites: 8.5 untested in 8...

Author(s): Stuart Taylor

Date: 12/31/06

Credits:

Instructions / Other Info:

Disclaimer:

FM Forums does not endorse or warrantee these files are fit for any particular purpose. Do not post or distribute files without written approval from the copyright owner. All files are deemed public domain unless otherwise indictated. Please backup every file that you intend to modify.

Dynamic_Labels.fp7.zip

Picture_78.png

Edited by Guest
ALSO SEE POST BELOW
Posted

I don't particularly like storing data in calculations. I would put the languages in a separate table. This would enable user to add a language simply by adding a record and filling the appropriate labels.

More labels can be provided by placing additional repetitions on the layout. This is as simple as it gets.

LanguageLabels.fp7.zip

Posted

These are both great contributions ...

please understand my prime interest is exploring the global calc which makes your examples even more interesting for me.

daniele the relocation of the variables is very nice ... i will use it often.

comment the table method is very slick and a much better practice than the variable in this situation. (although the variable is fun)

many thanks

stuart

  • 3 months later...
  • Newbies
Posted

Hi comment

Seems to be a great kind of implementing dynamic labels. I just try it out, but have the problem, that the labels do not get updated in the layouts when I add some new or just change their names even.

I cannot get hold of the trick to have automatic realtime updates. What am I missing?

Thanks for feedback

McYoda

Posted

Hey McYoda

The trigger is the Selected Language

If you update a label you must set the Language for it to update.

On the whole users would not have access to editing the labels only changing the language.

  • Newbies
Posted

Oh my gosh... This I should have been able to manage myself. Anyway, thanks for your help. It's working fine now.

  • 1 month later...
Posted

Sorry I have nothing to add programming wise, but I have to say this is a fantastic, simple solution and it works with Chinese tooboot.

Cheers

Allan

  • 1 month later...
Posted

Solution / Dynamic Labels :)

Great !!!!

I just want to point out : This works also perfect for tooltips.

Just put the calculation repetition in the tooltip specify.

May be Stuart can change the headline to

Dynamic Labels & Dynamic Tooltips

  • 2 weeks later...
  • 2 years later...
Posted

Sorry to bring back an old post, but like Tissot said, what about the value lists?

I'm trying to create a simple value list for boolean, but I'm unable to select the language.

LanguageLabels.zip

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.