Search found 2686 matches

by jmburnod
Sat Jul 23, 2011 3:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: differents sizes for tab chars
Replies: 3
Views: 2186

differents sizes for tab chars

hi All,

I need understand why tab chars have differents widths on one fld.
You can see it in the attached stack "ReplaceCommaWithTab"

Best

Jean-Marc
by jmburnod
Wed Jul 20, 2011 9:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming File with Entered Variables
Replies: 3
Views: 2338

Re: Naming File with Entered Variables

Hi ldblalock, Welcome to this forum Is there a way to do this? yes. something like that : on savemyID put fld "MYID" into tTheID --•• the fld "MYID" contains the ID user put tTheID&".txt" into tNameFile ask file "Save" with tNameFile --••Æor e path you builded if it = empty then exit savemyID open f...
by jmburnod
Wed Jul 20, 2011 7:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: why the size of a revlet is so small ?
Replies: 3
Views: 2347

Re: why the size of a revlet is so small ?

Guten abend Klaus
Und vielen Dank für hilfe
probably Revlets are also compressed somehow.
I think so. The size of the stack = 4.5 Mo

Best from geneva beach under the rain

Jean-Marc
by jmburnod
Wed Jul 20, 2011 11:03 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: why the size of a revlet is so small ?
Replies: 3
Views: 2347

why the size of a revlet is so small ?

Hi All, I have done a revlet with a stack and a substack (the substack contains 64 images) It work well :D (in local using with safari on OSX only at this moment) I see that the size of the revlet is much smaller than the size of the standalone (4.2 Mo for the revlet and 14.5 Mo for the OSX standalo...
by jmburnod
Sun Jul 17, 2011 5:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: put text into a particular part of a field
Replies: 6
Views: 4142

Re: put text into a particular part of a field

Hi rumplestiltskin , This seems to take care of it in not many lines of code and takes into account a period at the end of a sentence: I'm confused, i understood you need the num (position) of the clicked word for other tasks. I think using the clickchunk is better because there is not punctuation p...
by jmburnod
Sun Jul 17, 2011 11:33 am
Forum: Talking LiveCode
Topic: Delete local : good practice
Replies: 9
Views: 4778

Re: Delete local : good practice

Hi Bangkok, If you need know if a variable exists the syntax "there is" work also with variable It is not in the dictionary but it work for me on mousedown put 3 into tWhatever end mousedown on mouseUp if there is tWhatever then put tWhatever else put "tWhatever don't exists" end if end mouseUp Best...
by jmburnod
Sun Jul 17, 2011 9:35 am
Forum: Talking LiveCode
Topic: get the size of a variable
Replies: 1
Views: 1599

get the size of a variable

Hi All,
Following the topic "Delete local : good practice" of bangkok
Is there a way to get the size of a variable in LC ?

Best regards

Jean-Marc
by jmburnod
Sun Jul 17, 2011 9:31 am
Forum: Talking LiveCode
Topic: Delete local : good practice
Replies: 9
Views: 4778

Re: Delete local : good practice

Hi bangkok,
Without "local myvar" and "delete local myvar"... the memory used is increasing, each time you press the button.
Is there a way to get the size of a variable in LC (i understand you have a "task manager" for windows)
I'll do a new topic: "get the size of a variable"

Best

Jean-Marc
by jmburnod
Sat Jul 16, 2011 11:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: put text into a particular part of a field
Replies: 6
Views: 4142

Re: put text into a particular part of a field

Hi rumplestiltskin, For me your code work, if you need the num of the clicked word you can try this script on mouseup put the clickChunk into whereFrom put "green" into char (word 2 of whereFrom) to (word 4 of whereFrom) of me --•• "Fox." -> "green." work well --•• If you need the number of the clic...
by jmburnod
Sat Jul 16, 2011 4:04 pm
Forum: Talking LiveCode
Topic: Delete local : good practice
Replies: 9
Views: 4778

Re: Delete local : good practice

Hi bangkok, ...In my script, with a mouseup, I read large quantity of data. It goes into a variable. This var is not declared. So following what you say, at the "end mouseup" it would be cleared from memory, right ? For me (OSX) on mousedown put 3 into tWhatever end mousedown on mouseUp put tWhateve...
by jmburnod
Sat Jul 16, 2011 9:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Layer control within groups
Replies: 7
Views: 4278

Re: Layer control within groups

Hi SteveTX , The example syntax in the dictionary for "layer" is rather misleading yes, you're right So if I have groups A, B, and C, all inside group Z, how would I say "set the layer of group B to the front of group Z" ? You can see the layer of each objects in the "browser application". Like Klau...
by jmburnod
Sat Jul 16, 2011 9:02 am
Forum: Talking LiveCode
Topic: Delete local : good practice
Replies: 9
Views: 4778

Re: Delete local : good practice

Hi bangkok,
Something bothers me. I read in the dictionnary " Local variables that are used within a handler are automatically deleted when the handler in which they are used exits."
I think that is for local variable without declaring

Best
Jean-Marc
by jmburnod
Fri Jul 15, 2011 10:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: message hierarchy in window
Replies: 2
Views: 1837

Re: message hierarchy in window

Hi BvG I guess you need to be more precise in your description :) i found "≥" or "≤" in the background script. And this additional note of Dunbarx : "Note that the condensed symbol "≤" (ASCII 178) though supported on the Macintosh, should NOT be used, as it will break under Windows and Linux." Best ...
by jmburnod
Fri Jul 15, 2011 10:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: specialFolderPath("Preferences") for window
Replies: 8
Views: 4936

Re: specialFolderPath("Preferences") for window

Hi All,
Thank for reply.
They are very useful for a windows baby and i'am one.

All the best

Jean-Marc
by jmburnod
Thu Jul 14, 2011 6:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: message hierarchy in window
Replies: 2
Views: 1837

message hierarchy in window

Hi All,

I have a btn in a group "MyGroup".
This btn send a message "MyMessage" at mouseup
The script of the group MyGroup "behave like a background = true) contains "on MyMessage"

No problem with OSX and an errormessage "can't find handler" with window

What i forget ?

Jean-Marc

Go to advanced search