OK - lets rename the challenge :) Same problem - but defining it as follows:
- Is it possible to create a handler in the behavior of a shared group
that returns the number of the card the shared group is on?
This is the same problem - it is a problem of finding a reference to the
card a con
David Bovill writes:
> or if I want a user want to create and index with a script:
>
> repeat with cardNum = 1 to the number of cards
> > put the title_Text of group 1 of card cardNum & CR after myIndex
> > end repeat
Maybe I'm not following what you want to do here... a custom property of a
sh
No joy with the owner - it's a fundamental issue of a reference to the
field / group / target - the owner and all references I know of return the
value associated with the current card not the value of the actual card the
target is on. I view this (and always have as a quite serious bug) - I'm
just
David,
This may not be any less inelegant that parsing the long id, but how having
the Title_Text be an array with its keys being either the card number or
the card id?
On Fri, Mar 29, 2013 at 12:30 PM, David Bovill wrote:
> So how can I write a handler to retrun the text of a background group on
On 3/29/13 2:30 PM, David Bovill wrote:
So how can I write a handler to retrun the text of a background group on a
card other than the current card? The only way I know of is to do some ugly
manual parsing of the long id of the target, and so extract the card id and
construct a reference that wa
OK - let's be more descriptive - this card and the current card won't work.
Let's picture an application - say it's a keynote style presentation stack
- and we are creating background groups that a user can place in the
presentation. Say the presentation has 10 cards and all of them happen to
use t
On 3/29/13 1:44 PM, Mark Wieder wrote:
David Bovill writes:
That is the issue - there is no "easy" way of finding out the value of
from within the behavior. There is a way - but it is both
unreliable and very ugly. Wandering if anyone has a simple reliable
technique I've missed?
the curren
David Bovill writes:
>
> That is the issue - there is no "easy" way of finding out the value of
> from within the behavior. There is a way - but it is both
> unreliable and very ugly. Wandering if anyone has a simple reliable
> technique I've missed?
the currentcard of this stack
--
Mark Wi
On Mar 29, 2013, at 8:48 AM, André Bisseret wrote:
> 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.
I predict that you will love custom propert
That is the issue - there is no "easy" way of finding out the value of
from within the behavior. There is a way - but it is both
unreliable and very ugly. Wandering if anyone has a simple reliable
technique I've missed?
On 29 March 2013 16:51, J. Landman Gay wrote:
>
> get the text of fld "titl
Thanks Scott - yes you can do that - so for instance:
getprop title_Text [cardNum]
> return the text of fld 1 of group "Test" of card cardNum
> end title_Text
>
> setprop title_Text [cardNum] someText
>set the text of fld 1 of group "Test" of card cardNum to someText
> end title_Text
>
wo
On 3/29/13 4:08 AM, David Bovill wrote:
OK - a very basic challenge for all you LIveCode wizz kids out there :) How
do you set the text of a field. The twist is you need to do it for a group
which has been placed on multiple card, so there is the text on card 1 and
this is different from the text
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:
This problem is based on the same issue that Pete Haworth ran into:
references to controls within groups placed on multiple cards resolve to
the current card.
Not sure if this would be an option for you, but you could use commands in
the behavior instead of set/getProp and include the card number
I forgot un little detail > how to launch the model stack ?
from stack A (stack id 1020 in the example):
go stack the cpNomCustomProp of stack id 1020
Le 29 mars 2013 à 11:54, René Micout a écrit :
>
> Le 29 mars 2013 à 11:22, André Bisseret a écrit :
>
>> René, I did not explore the custo
Le 29 mars 2013 à 11:22, André Bisseret 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
Thank you much Mark,
Locking messages before cloning works like a charm ;-))
I keep learning!
David and René: thanks for your replies
David, I am using OSX too.
René, I did not explore the custom property solutions
Pourriez-vous m'esquisser comment utiliser une "custom property" ? (How could I
Hi André,
Thre's a good chance that script run when you clone the stack, which make it
visible. Lock the messages before cloning the stack.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalk
Have you explored the custom property solutions ?
Le 29 mars 2013 à 10:30, André Bisseret a écrit :
> Bonjour,
>
> I have a main stack (say mainStack1" of which one substack is a model stack,
> say stack "stackModel"
>
> On an another main stack, I have a button with a mouseUp handler that cr
Nothing - it should work - both for mainstacks and substacks. Just tested
on OSX and it works fine - what platform are you using?
On 29 March 2013 09:30, André Bisseret wrote:
> Bonjour,
>
> I have a main stack (say mainStack1" of which one substack is a model
> stack, say stack "stackModel"
>
>
Bonjour,
I have a main stack (say mainStack1" of which one substack is a model stack,
say stack "stackModel"
On an another main stack, I have a button with a mouseUp handler that creates a
new stack by cloning the model stack.
When I clone invisible stack "stackModel", that create a stack "cop
By the way the issue appears to be that "play someVideoFile" does not work
on Android - at least my set up (I only get sound no image). Using a custom
control to play the video works fine with both video formats.
On 1 March 2013 17:03, David Bovill wrote:
> I've tried 2 videos so far for playbac
OK - a very basic challenge for all you LIveCode wizz kids out there :) How
do you set the text of a field. The twist is you need to do it for a group
which has been placed on multiple card, so there is the text on card 1 and
this is different from the text on card 2. The difficulty is that you wan
23 matches
Mail list logo