Hi!
That's because functions need to be GOT
You need either to :
send "get myFunction("& "Hello" &")" to me in 2 seconds
or
send "myHandler" && "Hello" to me in 2 seconds
... I think.
Fred.
Search found 77 matches
- Sat Jan 23, 2016 2:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Execute function after some time
- Replies: 10
- Views: 6500
- Wed Jan 20, 2016 10:38 am
- Forum: Talking LiveCode
- Topic: Grouping two objects and grabbing the group
- Replies: 4
- Views: 3088
Re: Grouping two objects and grabbing the group
Hi David,
All in one mouseDown message? Some code golf competition I guess...
Anyway, doing :
Just as the dictionary says only works when placed in the card script
It seems implicit that you can only grab the target of the mouse event.
Fred.
All in one mouseDown message? Some code golf competition I guess...
Anyway, doing :
Code: Select all
on mouseDown
grab graphic 1
end mouseDown
It seems implicit that you can only grab the target of the mouse event.
Fred.
- Tue Jan 19, 2016 6:51 pm
- Forum: Talking LiveCode
- Topic: Identifying Invisible Files & Folders
- Replies: 6
- Views: 5024
Re: Identifying Invisible Files & Folders
YW
for once Mac look more complicated than windows :)
for once Mac look more complicated than windows :)
- Tue Jan 19, 2016 6:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: custom slider : mouseRelease & mouseUp not triggered
- Replies: 6
- Views: 3450
Re: custom slider : mouseRelease & mouseUp not triggered
Klaus, thanks! All is well oiled now.
Now I remember reading this a couple years ago…
F.
Now I remember reading this a couple years ago…
F.
- Tue Jan 19, 2016 5:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: custom slider : mouseRelease & mouseUp not triggered
- Replies: 6
- Views: 3450
Re: custom slider : mouseRelease & mouseUp not triggered
Bernd, Solution : do my stuff at the end of the mouseDown... LC version : 7.1.1 STABLE (16 dec 2015) OS : Win 7 Pro 64bits Device : Mouse Thanks for your interest! Fred. This works for me : on mouseDown pBtn # the vertical position put item 2 of the loc of grc "Axis" of me into sY # left and right l...
- Tue Jan 19, 2016 4:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: custom slider : mouseRelease & mouseUp not triggered
- Replies: 6
- Views: 3450
Re: custom slider : mouseRelease & mouseUp not triggered
Since you, as the author, were making the statement 'mouseRelease & mouseUp not triggered'... I expected that to be the case... However, it works for me...:-) If I release the mouse whilst still inside the graphic 'thumb' then, mouseUp is fired... outside the graphic 'thumb' mouseRealease is fired....
- Tue Jan 19, 2016 3:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: custom slider : mouseRelease & mouseUp not triggered
- Replies: 6
- Views: 3450
custom slider : mouseRelease & mouseUp not triggered
Hi, I must be missing something here... A group contains three objects with no script the group script is below the mouseUp and mouseRelease messages are not hadled consistently to say the least. stack attached Thanks... Fred. LC 7 stable local sLeft, sRight local sX, sY on mouseDown pBtn # the vert...
- Mon Jan 18, 2016 2:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: limit a text filed to the first 3 lines
- Replies: 8
- Views: 4588
Re: limit a text filed to the first 3 lines
Winter Monday morning deep in german continental climate... I feel for you, you're forgiven :mrgreen:
- Mon Jan 18, 2016 11:36 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: limit a text filed to the first 3 lines
- Replies: 8
- Views: 4588
Re: limit a text filed to the first 3 lines
Hi! You're all assuming the don'tWrap property of the field is true! on keyDown if TypingAllowed() then pass keyDown end if end keyDown on rawKeyUp if not TypingAllowed() then repeat until TypingAllowed() delete last char of me end repeat end if pass rawKeyUp end rawKeyUp on returnInField if TypingA...
- Mon Jan 18, 2016 10:29 am
- Forum: Talking LiveCode
- Topic: Identifying Invisible Files & Folders
- Replies: 6
- Views: 5024
Re: Identifying Invisible Files & Folders
Hi John,
I don't know Mac but on Windows you can shell "dir /a:h" to get the hidden files, and "dir /a:-h for the visible files.
Fred.
ps : in case you don't have a win machine at hand, here's what the output looks like
I don't know Mac but on Windows you can shell "dir /a:h" to get the hidden files, and "dir /a:-h for the visible files.
Fred.
ps : in case you don't have a win machine at hand, here's what the output looks like
- Sat Jan 16, 2016 10:23 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: navigate between forms/stacks
- Replies: 4
- Views: 3484
Re: navigate between forms/stacks
Hi,
True and true...
However just to answer your initial question, you can still
if you want to stick to stack (Ha! Pun!) based forms.
Fred.
True and true...
However just to answer your initial question, you can still
Code: Select all
go to card 1 of stack myStack in window
Fred.
- Mon Dec 28, 2015 10:11 am
- Forum: Talking LiveCode
- Topic: udp callback messages when app in background
- Replies: 4
- Views: 3062
Re: udp callback messages when app in background
Hi Mario, welcome! I'm no expert but since you didn't get any reply... I don't think what you describe is the normal behavior. It doesn't happen on Windows in any case! Does this happen in the IDE as well? My guess is that you have something in your code that either closes the socket or locks the sc...
- Fri Oct 02, 2015 10:55 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to document code (such as JavaDoc?)
- Replies: 15
- Views: 16095
Re: How to document code (such as JavaDoc?)
This is very cool! Thanks for sharing!
You need to use \ for file path on windows , and for some reason the stack resising is completely off. Apart from that it seems to work fine on LC 7.1 windows.
You need to use \ for file path on windows , and for some reason the stack resising is completely off. Apart from that it seems to work fine on LC 7.1 windows.
- Tue Apr 21, 2015 12:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: String parsing
- Replies: 7
- Views: 4374
Re: String parsing
Hi,
Dictionary says it "probably isn't suitable for use in a general-purpose language parser", but the token keyword has been very useful to me.
F.
Dictionary says it "probably isn't suitable for use in a general-purpose language parser", but the token keyword has been very useful to me.
F.
- Fri Apr 17, 2015 9:00 am
- Forum: Converting to LiveCode
- Topic: Function polymorphism
- Replies: 4
- Views: 8344
Re: Function polymorphism
Craig,
If you think it's worth it, you'll probably do a better job at it.
But please don't postpone LC8 dp2 on my account!
F.
If you think it's worth it, you'll probably do a better job at it.
But please don't postpone LC8 dp2 on my account!
F.