Calling a second card from a button in the first card

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
bobtimpone
Posts: 25
Joined: Tue Jan 03, 2012 9:10 pm

Calling a second card from a button in the first card

Post by bobtimpone »

Hi All
I have several applications which call the camera .
I would like to call the camera on a separate card then dismiss it when done.
Any idea where in the docs I would find a clue ?
Bob
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Calling a second card from a button in the first card

Post by Klaus »

Hi Bob,

sorry, but I have no idea what you are trying to do!? :D


Best

Klaus
bobtimpone
Posts: 25
Joined: Tue Jan 03, 2012 9:10 pm

Re: Calling a second card from a button in the first card

Post by bobtimpone »

Hi Klaus
I want to call a second card from the first and then be able to close it.
Thanks for all your help !
Bob
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Calling a second card from a button in the first card

Post by Klaus »

Hi Bob,

sorry, still have problems with "call a second card... and close it"?
What do mean you with "call"?


Best

Klaus
bobtimpone
Posts: 25
Joined: Tue Jan 03, 2012 9:10 pm

Re: Calling a second card from a button in the first card

Post by bobtimpone »

What I want the user to be able to do is hit a button called camera
this will open a second card with the camera controls.
When they are done they hit the close key
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Calling a second card from a button in the first card

Post by Klaus »

Hi Bob,

hmmm, maybe:

Code: Select all

## Button "camera":
on mouseup
  go cd "the one with the camera controls"
end mouseup
?

Best

Klaus
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Calling a second card from a button in the first card

Post by Dixie »

Bob...

I think that I am as confused as Klaus about what you want to do. To call the camera use the iphonePickPhoto command... for example

Code: Select all

on mouseUp
   iphonePickPhoto "rear camera"
end mouseUp
You don't have a need to go to another card as the photoPicker is overlaid on top of the card from where it is called.

be well

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

Re: Calling a second card from a button in the first card

Post by Klaus »

Yo 8)
Post Reply