On topstack???

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
david_ff
Posts: 12
Joined: Mon Jan 29, 2007 1:15 am

On topstack???

Post by david_ff »

I give up; this is probably so darn easy but:
how do you sent a message when you click on window to make it the top window. I've tried

on librarystack
send mouseup to btn "Test"
end librarystack
but that doesn't work.

Thanks, Dave
BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG »

not every term is named as one would expect:

resumestack
and
suspendstack
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
ChristopherBodell
Posts: 52
Joined: Sun Jan 20, 2008 7:06 am

Try this

Post by ChristopherBodell »

Try:
[ send "mouseUp" to btn "test" ]

with quotes around mouseUp, or you can:

[ systemWindow stack "stackname" ] --or
[ set the systemWindow of stack "stackname" to true ]


--Christopher Bodell
david_ff
Posts: 12
Joined: Mon Jan 29, 2007 1:15 am

Thanks!

Post by david_ff »

Thanks! It is annoying that 'resumestack' is not listed in the filtered list of messages in the Transcript language dictionary (Help).
BvG wrote:not every term is named as one would expect:

resumestack
and
suspendstack
Post Reply