Up and down switching cards, can I turn this off?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DavJans
Posts: 275
Joined: Thu Dec 12, 2013 4:21 pm

Up and down switching cards, can I turn this off?

Post by DavJans » Fri Jun 27, 2014 11:25 pm

Is there a way to turn this off.
"Det bästa stället att hitta en hjälpande hand är i slutet av din egen arm" förutom här

trags3
Posts: 432
Joined: Wed Apr 09, 2014 1:58 am

Re: Up and down switching cards, can I turn this off?

Post by trags3 » Sat Jun 28, 2014 4:28 am

I'm just guessing but do you have a "visual effect" statement before you go to card?
If so comment this out.
Otherwise I'm not sure what you are seeing.

Tom

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10333
Joined: Wed May 06, 2009 2:28 pm

Re: Up and down switching cards, can I turn this off?

Post by dunbarx » Sat Jun 28, 2014 2:46 pm

Me too.

Do you have a "visual effect" command somewhere in your handlers?

Craig Newman

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: Up and down switching cards, can I turn this off?

Post by SparkOut » Sat Jun 28, 2014 4:47 pm

hmmm... perhaps navigationArrows? Look that up in the dictionary to see if it's the behaviour you are seeing.

Maybe "set the navigationArrows to false" and see if you get the same card switching?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Up and down switching cards, can I turn this off?

Post by Simon » Sat Jun 28, 2014 8:39 pm

Way to go SparkOut, this one has been bugging me because I had no idea what the OP was talking about, but your conclusion seems the best.
It's also in Preferences >General > Arrowkeys navigate through cards.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10333
Joined: Wed May 06, 2009 2:28 pm

Re: Up and down switching cards, can I turn this off?

Post by dunbarx » Sun Jun 29, 2014 1:40 am

I never thought the OP did not want to switch cards, but rather that he dd not want "up/down", as in, a visual effect.

I can't wait to see...

Craig

EDIT:

OH!! "UP DOWN". ArrowKeys. Of course.
Last edited by dunbarx on Wed Jul 02, 2014 10:45 am, edited 1 time in total.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Up and down switching cards, can I turn this off?

Post by Simon » Sun Jun 29, 2014 2:31 am

Yes, Yes the keys!
I can't wait to find out either!

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Up and down switching cards, can I turn this off?

Post by Simon » Wed Jul 02, 2014 8:01 am

OK DavJans,
You have been here today.
Interested minds want to know. :)

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

DavJans
Posts: 275
Joined: Thu Dec 12, 2013 4:21 pm

Re: Up and down switching cards, can I turn this off?

Post by DavJans » Tue Jul 22, 2014 8:56 pm

I'm so sorry, I left you all in the dark. I ended up having a bunch of more important things to worry about and dropped this until now when I was going threw my posts.

Here you can see what I mean by making a simple stack.

on card1 make a button with this script
on mouseUp
go to card "card2"
end mouseUp

on card 2 make a button with this script
on mouseUp
go to card "card3"
end mouseUp

on card 3 do nothing

save as stand alone app for windows and open it

click the first button
now when you push up on your keyboard it will go to card 1
push up again and it will go to card 2
again, card 1
again, card 2
now click the second button and it will go to card 3
now up will cycle all 3 cards.

This is a problem for my main stack because card one asks for a user name and password. If someone logs out and does not close the application, someone else can get in just by hitting up or down.
"Det bästa stället att hitta en hjälpande hand är i slutet av din egen arm" förutom här

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Up and down switching cards, can I turn this off?

Post by Klaus » Tue Jul 22, 2014 9:42 pm

Hi DavJans,

add this to your pre-/openstack script to prevent this inconvenience:
...
set the navigationarrows to false
...


Best

Klaus

DavJans
Posts: 275
Joined: Thu Dec 12, 2013 4:21 pm

Re: Up and down switching cards, can I turn this off?

Post by DavJans » Tue Jul 22, 2014 10:18 pm

Thank you, sorry again for dropping this and leaving you guys in the dark, it was rude of me to do so.
"Det bästa stället att hitta en hjälpande hand är i slutet av din egen arm" förutom här

Post Reply