Beginners global variable pb

Thomas McGrath III 3mcgrath at adelphia.net
Fri Feb 20 09:28:44 EST 2004


I haven't used them but isn't this the case for using the property 
profiles? I thought I read that in the docs?

Switch master profiles based upon language chosen. set up properties 
for each language and fill things up from there.

TOm

On Feb 19, 2004, at 12:33 PM, Benoit Leraillez wrote:

>   Hi,
>
>
>   I'm a beginner with Revolution (used other things in the past for
> interface dev) but decided to use it since it corresponds exactly to 
> what I
> need for a cross-platform product prototype. My code maybe not the 
> finest or
> the most elegant but it basically does what it is supposed to do up to
> now ;-)
>
>   Now here is the problem I'm up to:
>
> - The first card let's the user select the language interface for the 
> rest
>   of the stack. I know how to change on the fly the texts on that card 
> to
>   the user's selection from the scrolling list field. But I haven't 
> found
>   a way to store that selection so that every text field on every card
>   displays text in the correct language (LanguageChoice is a global 
> variable
>   defined in the stack script in open stack and modified in the 
> language
>   selection script).
>
>   Since I defined the variable as global up in the stack I don't 
> understand
> why it doesn't apply to every card and field. Maybe there is another 
> way to
> do this?
>
>   (On top of that the ideal for me would be to have a hidden card 
> containing
> a table where each column would be a language and each row a field's 
> content
> since I could then keep simpler code in the text fields and probably 
> import
> and export the translations to work on it elsewhere than in Revolution.
> First I've got to figure out how to "put content of cell
> ("LanguageChoice",3) of field "FullText" of card "Translation" into 
> field
> "Headline"" but I think I'll try to figure that out on my own before 
> coming
> here again ;-)
>
>
>   TIA for any help.
>
>
> P.S. Oh! Just one more thing, is there a way to have an image put in 
> such
> away that it appears in every cards at the same place when you create 
> a new
> card? And if you modify that image you don't have to copy and paste 
> hundreds
> of times? It ain't a priority but it would be cool ;-)
>
> -- 
> Benoît Leraillez
>
> Nous n'avons pas les moyens d'acheter bon marché.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list