To my knowledge yes, but then I never tested it thoroughly, never having needed
to. But I did test your stack and found that clearly send in time sent right
away and ignored the in time argument.
Bob S
On Feb 17, 2015, at 23:48 , Richmond
mailto:richmondmathew...@gmail.com>> wrote:
I wonder
On 18/02/15 00:52, Bob Sneidar wrote:
Yeah, looks like something broke with send in time. It’s clearly ignoring the
in argument, because attempting to delete the card at all when the send in time
is in a running script fails to delete the card, but deleting the card from the
message box works
On 2/17/2015 7:43 PM, Richard Gaskin wrote:
Bob Sneidar wrote:
> That should not be the case. Send in time means execute next idle
> message plus time. If it doesn’t work with 0 seconds, that means
> there is something triggering an Idle message before the script
> is finished. The only othe
Bob Sneidar wrote:
> That should not be the case. Send in time means execute next idle
> message plus time. If it doesn’t work with 0 seconds, that means
> there is something triggering an Idle message before the script
> is finished. The only other explanation is that the way we all
> thought se
Yeah, looks like something broke with send in time. It’s clearly ignoring the
in argument, because attempting to delete the card at all when the send in time
is in a running script fails to delete the card, but deleting the card from the
message box works fine. If I were you, I’d file a bug repo
On 17/02/15 21:05, Bob Sneidar wrote:
That should not be the case. Send in time means execute next idle message plus
time. If it doesn’t work with 0 seconds, that means there is something
triggering an Idle message before the script is finished. The only other
explanation is that the way we al
That should not be the case. Send in time means execute next idle message plus
time. If it doesn’t work with 0 seconds, that means there is something
triggering an Idle message before the script is finished. The only other
explanation is that the way we all thought send in time worked is not
*a
A BIG, BIG 'Thank You' to all and everyone for their very great help
snowing me under with wonderful suggestions for this problem.
Confirming my opinion, yet again, that this Use-List and the LiveCode
community as a whole consists of a great bunch of people.
Love you lot, Richmond.
On 17/02/15 20:50, Richmond wrote:
On 16/02/15 23:00, BNig wrote:
Hi Peter,
the point is that in a button on a card
---
on mouseUp
put the long id of this card into tLID
send "delete tLID" to this stack in 0 milliseconds
end mouseUp
But, this was, indeed joyous:
On 16/02/15 23:00, BNig wrote:
Hi Peter,
the point is that in a button on a card
---
on mouseUp
put the long id of this card into tLID
send "delete tLID" to this stack in 0 milliseconds
end mouseUp
No joy with this one:
on mouseUp
answer "Do you want to delet
You can have a card button that deletes the card if you make the button a group
background button. While you see the button on the card, it is not actually on
the card but behind the card and can be used to delete the card.
on mouseUp -- script on background group button
delete this card
end mo
On Mon, Feb 16, 2015 at 2:42 PM, Richmond
wrote:
> Now, for every new term a templet card is cloned and 2 fields on the
> cloned card are filled.
>
Bernd's solution is correct if you really want to create/delete cards. It
would be better/more scalable to just maintain a list of the information
a
Hi Bernd,
> Am 17.02.2015 um 00:15 schrieb BNig :
> Hi Klaus,
> ...
>>> ---
>>> on mouseUp
>>> put the long id of this card into tLID
>>> send "delete tLID" to this stack in 0 milliseconds
>>> end mouseUp
>>>
>>> you don't need any handler anywhere. Just tested on LC 5.5, it
Hi Klaus,
Klaus major-k wrote
> Am 16.02.2015 um 22:00 schrieb BNig <
> bernd.niggemann@
> >:
>>
>> Hi Peter,
>>
>> the point is that in a button on a card
>> ---
>> on mouseUp
>> put the long id of this card into tLID
>> send "delete tLID" to this stack in 0 milliseconds
>> end m
Am 16.02.2015 um 22:00 schrieb BNig :
>
> Hi Peter,
>
> the point is that in a button on a card
> ---
> on mouseUp
> put the long id of this card into tLID
> send "delete tLID" to this stack in 0 milliseconds
> end mouseUp
>
>
> you don't need any handler anywhere. Just
Right. Simpler.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Feb 16, 2015, at 4:00 PM, BNig wrote:
> Hi Peter,
>
> the point is that in a button on a card
> ---
> on mouseUp
> put the long id of this card into tLID
> send "delete tLID" to this stack
Hi Peter,
the point is that in a button on a card
---
on mouseUp
put the long id of this card into tLID
send "delete tLID" to this stack in 0 milliseconds
end mouseUp
you don't need any handler anywhere. Just tested on LC 5.5, it works :)
@ Dixie,
I don't claim I foun
You have to put the delete card handler in a higher level script in the message
path. For instance.
put this into the stack script:
on deleteMyCard cdID
delete card id cdID
end deleteMyCard
then put this into the button:
on mouseup
send ("deleteMyCard" && the short id of this card) to
Bernd...
You show us all up every time...:-)
Again, 'nice one!'...
Dixie
> Date: Mon, 16 Feb 2015 12:43:28 -0800
> From: bernd.niggem...@uni-wh.de
> To: use-revolut...@lists.runrev.com
> Subject: Re: Deleting cards from within themselves.
>
> Or even a bit easi
Or even a bit easier
---
on mouseUp
put the long id of this card into tLID
send "delete tLID" to this stack in 5 milliseconds
end mouseUp
---
see also on the forum
http://forums.livecode.com/viewtopic.php?f=7&t=22154&hilit=+delete+button#p114046
Kind regards
Be
in the stack script:
on delcd pCd
delete cd id pCd
end delcd
in the script of the btn of your card:
on mouseUp
send ("delcd" && the id of this cd) to this stack in 0
end mouseup
Best
Günter
Am 16.02.2015 um 20:42 schrieb Richmond:
This CANNOT be done, as such.
I am currently working
com
Subject: Re: Deleting cards from within themselves.
On 16/02/15 22:30, Eric Corbett wrote:
use
send "mouseUp" to btn "DELL" of card “INPUTTER” in 1 milliseconds
Nope!
___
use-livecode mailing list
use-livecode@lists.
id of this card into cardNo
send "getridofcard" to this stack in 100 millisecs
end mouseUp
> Date: Mon, 16 Feb 2015 22:36:36 +0200
> From: richmondmathew...@gmail.com
> To: use-livecode@lists.runrev.com
> Subject: Re: Deleting cards from within themselves.
>
> On
On 16/02/15 22:30, Eric Corbett wrote:
use
send "mouseUp" to btn "DELL" of card “INPUTTER” in 1 milliseconds
Nope!
On Feb 16, 2015, at 12:02 PM, Richmond wrote:
On 16/02/15 21:54, Roger Eller wrote:
try this:
click at the loc of btn "DELL" of card "INPUTTER"
~Roger
Thanks, but no j
use
send "mouseUp" to btn "DELL" of card “INPUTTER” in 1 milliseconds
in the first mouseU
On Feb 16, 2015, at 12:02 PM, Richmond wrote:
> On 16/02/15 21:54, Roger Eller wrote:
>> try this:
>>
>> click at the loc of btn "DELL" of card "INPUTTER"
>>
>> ~Roger
>
> Thanks, but no joy: because
On 16/02/15 21:54, Roger Eller wrote:
try this:
click at the loc of btn "DELL" of card "INPUTTER"
~Roger
Thanks, but no joy: because that line still has to be inside a script in
an object on the card
to be deleted.
On Mon, Feb 16, 2015 at 2:42 PM, Richmond
wrote:
This CANNOT be done,
try this:
click at the loc of btn "DELL" of card "INPUTTER"
~Roger
On Mon, Feb 16, 2015 at 2:42 PM, Richmond
wrote:
> This CANNOT be done, as such.
>
> I am currently working up a moronically simple flashcard program for
> people to learn words in a new language.
>
> It features a card where
27 matches
Mail list logo