Stuart Taylor Posted December 31, 2006 Posted December 31, 2006 (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 Edited January 1, 2007 by Guest ALSO SEE POST BELOW
Stuart Taylor Posted January 1, 2007 Author Posted January 1, 2007 A flash of inspiration ... See attachment ... this method requires NO SCRIPTS HURRAY!!! goal achieved Dynamic_Labels_No_Scripts.fp7.zip
Raybaudi Posted January 1, 2007 Posted January 1, 2007 Hi good Idea ! Some modifications: 1) Italian language 2) No more numbers into the "Language" list 3) No more the empty hidden field Dynamic_Labels_No_ScriptsMod.zip
comment Posted January 1, 2007 Posted January 1, 2007 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
Stuart Taylor Posted January 2, 2007 Author Posted January 2, 2007 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
Newbies McYoda Posted April 18, 2007 Newbies Posted April 18, 2007 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
Stuart Taylor Posted April 18, 2007 Author Posted April 18, 2007 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 McYoda Posted April 19, 2007 Newbies Posted April 19, 2007 Oh my gosh... This I should have been able to manage myself. Anyway, thanks for your help. It's working fine now.
Allan H Posted June 1, 2007 Posted June 1, 2007 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
Newbies crhockey Posted July 30, 2007 Newbies Posted July 30, 2007 Stuart, I just want to thank you for your work on dynamic labels. Its a great solution!
Ohgo_Ohgo Posted August 5, 2007 Posted August 5, 2007 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
Tissot Posted August 14, 2007 Posted August 14, 2007 But what about the "very important" Value lists? Any suggestions? Ron
berny Posted August 19, 2007 Posted August 19, 2007 (edited) Hi all, thank you for posting this! Bernhard Edited August 20, 2007 by Guest
El_Pablo Posted October 23, 2009 Posted October 23, 2009 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
Recommended Posts