René, I am adopting the solution from Mark, but I am interested by yours. I am not very familiar with custom properties, so I am going to give it a try to better understand their possibilities.
Merci beaucoup René André Le 29 mars 2013 à 11:54, René Micout a écrit : > > Le 29 mars 2013 à 11:22, André Bisseret <andre.bisse...@wanadoo.fr> a écrit : > >> René, I did not explore the custom property solutions >> Pourriez-vous m'esquisser comment utiliser une "custom property" ? (How >> could I use custom property?) >> Seulement si vous avez le temps ! > > This involves integrating the stack "model" (B) in a custom property > contained in the stack (A). > > RUN THIS SCRIPT FROM THE MESSAGE BOX: > > set the cpNomCustomProp of stack id 1020 to url "binFile:/full path/stkModèle" > > cpNomCustomProp = instance name of the custom property containing the stack > model B (to adapt) > id = 1020 id example of stack A (to adapt) which is contained in the custom > property (the stack model B) > url = to adapt to the individual case, it is the stack model B > line above script stored as customprop the stack model B as a basis for the > creation of the duplicate model stack when called from stack A ... > You will have only one stack (A), the stack model integral part of the stack A > > Cela consiste à intégrer le stack "modèle" (B) dans une custom property > contenue dans le stack (A). > > LANCER CE SCRIPT DEPUIS LA MESSAGE BOX : > > set the cpNomCustomProp of stack id 1020 to url "binFile:/Chemin d'accès > complet/stkModèle" > > cpNomCustomProp = exemple de nom de la custom property contenant le stack > modèle B (à personnaliser) > id 1020 = exemple d'id du stack A (à adapter) dans lequel est contenu la > custom property (le stack modèle B) > url = à adapter selon les cas, il s'agit du stack modèle B > la ligne de script ci-dessus stocke sous forme de customprop le stack modèle > B qui servira de base à la création du duplicata du stack modèle lors de son > appel depuis le stack A … > Vous n'aurez donc plus qu'un stack (A), le stack modèle faisant partie > intégrante du stack A > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode