Search found 260 matches
- Wed Jun 03, 2015 2:01 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to create a new card in a other stack ?[Solved]
- Replies: 7
- Views: 3865
How to create a new card in a other stack ?[Solved]
Hello friends, I'd like to create a new card in a other stack whithout to go there . I've seen in the dictionnary that the create command creates objects in the current card. That's not what I'm looking for. I want to create a new card in a specific stack which I know the name. For example, this cod...
- Wed Jun 03, 2015 7:53 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How do I refer objects from a group ? [Solved]
- Replies: 4
- Views: 2443
Re: How do I refer objects from a group ?
The "number of controls ", didn't know that; fantastic !
Yes, I got the idea, and thanks a lot, SparkOut, for this great lesson
Regards, Jean-Paul.
Yes, I got the idea, and thanks a lot, SparkOut, for this great lesson
Regards, Jean-Paul.
- Wed Jun 03, 2015 6:38 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How do I refer objects from a group ? [Solved]
- Replies: 4
- Views: 2443
Re: How do I refer objects from a group ?
To go further I also tried this in the command box, without success
Code: Select all
put the list of objects of group "grp_lesCoches"
- Wed Jun 03, 2015 6:33 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How do I refer objects from a group ? [Solved]
- Replies: 4
- Views: 2443
How do I refer objects from a group ? [Solved]
Hi to all, Sorry for this simple question but any idea how do I refer objects from a group ? I want to place an handler in a group which init all its child objects. This script example below (in the group) explain a bit: on initAll send initYourSelf to objects of me end initAll I suppose this code w...
- Tue Jun 02, 2015 9:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How I delete empty lines in a list ? [Solved]
- Replies: 8
- Views: 4856
Re: How I delete empty lines in a list ? [Solved]
Very interesting test, thanksjacque wrote:We know that LC 7 is much slower, but even so, 183 ms isn't very long, but older machines would be slower. The version of LC is the important thing though.
- Mon Jun 01, 2015 10:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How I delete empty lines in a list ? [Solved]
- Replies: 8
- Views: 4856
Re: How I delete empty lines in a list ? [Solved]
May be this could be the point.jmburnod wrote: I wonder :
1. Each line of my TexteBrut are short
The text file I deal with is 31105 Ko for 473495 lines cleaned...
Regards, Jean-Paul.
- Mon Jun 01, 2015 8:22 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How I delete empty lines in a list ? [Solved]
- Replies: 8
- Views: 4856
Re: How I delete empty lines in a list ? [Solved]
You must have a very fast machin ! To me, it took 22s with the filter function.
Didn't try with the repeat because I suppose the internal functions are faster...
Regards, Jean-Paul.
Didn't try with the repeat because I suppose the internal functions are faster...
Regards, Jean-Paul.
- Mon Jun 01, 2015 8:02 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How I delete empty lines in a list ? [Solved]
- Replies: 8
- Views: 4856
Re: How I delete empty lines in a list ?
Wouha ! This "filter" function is fantastic and your help also
Thanks a lot, Jean-Paul.
Thanks a lot, Jean-Paul.
- Mon Jun 01, 2015 7:33 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How I delete empty lines in a list ? [Solved]
- Replies: 8
- Views: 4856
How I delete empty lines in a list ? [Solved]
Hi to all, I need your help for coding a script which delete all empty lines in a list of more than 475000 index. I've tried the code below but it doesn't work (infinit loop). on mouseUp-- delete empty lines put fld "texteBrut" into laListe -- contains > 475000 lines put the number of lines of laLis...
- Sat May 16, 2015 1:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What's wrong with my code (URL)[Solved]
- Replies: 6
- Views: 3481
Re: What's wrong with my code (URL)[Solved]
Ah right, I didn't notice this detail too !
- Fri May 15, 2015 1:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What's wrong with my code (URL)[Solved]
- Replies: 6
- Views: 3481
Re: What's wrong with my code (URL)[Solved]
Thanks for the advice Klaus
When I think that just a makes the difference
Regards, Jean-Paul.
When I think that just a
Code: Select all
&
Regards, Jean-Paul.
- Fri May 15, 2015 11:18 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What's wrong with my code (URL)[Solved]
- Replies: 6
- Views: 3481
Re: What's wrong with my code (URL)
I find it out by setting the <defaultFolder> path to the folder needed and I changed the code by:
That way it's OK.
Cheers, Jean-Paul.
Code: Select all
put lesPreferences into URL "file:preferences.txt"
Cheers, Jean-Paul.
- Fri May 15, 2015 9:21 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What's wrong with my code (URL)[Solved]
- Replies: 6
- Views: 3481
What's wrong with my code (URL)[Solved]
Hi to all, Could you have a look at this code below and tell me what's wrong with it. put lesPreferences into URL "file:gLePathPreferences" I'm not supposed to open the file first with URL, right ? So, after debugging I can say that the var <lesPreferences > is not empty. It's a list with one parame...
- Thu May 14, 2015 6:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Before preOpenStack [Solved]
- Replies: 11
- Views: 6087
Re: Before preOpenStack
OK, both methods work fine
The Jacqueline's one avoid the use of a global var.
So now, I've got two ways to get the same thing.
Thanks to all of you for your help, Jean-Paul.
The Jacqueline's one avoid the use of a global var.
So now, I've got two ways to get the same thing.
Thanks to all of you for your help, Jean-Paul.
- Thu May 14, 2015 5:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to remember user input after app closes on android/ios
- Replies: 7
- Views: 4359
Re: How to remember user input after app closes on android/i
Well I'm not an expert but from the dictionary at the <before> section, they write: The before handler is exclusive to behavior scripts and is sent to a behavior script before all messages. It's about behavior which is something I do not understand yet ;-) So in that case, it seems not to be OK. Hav...