Page 1 of 1

Create a One-Time registration screen

Posted: Fri Oct 08, 2010 8:46 pm
by arkstar
The scenario:
The user fires up the program for the first time and gets a registration screen. If they register, the program continues. If they don't register, the program quits.
So, they register and the program continues to the main screen. They use the program and then they exit the program.

Now.... the next time the user starts the program, they go directly to the main screen bypassing the reg screen as they have already registered...

Any ideas about how to get this to work?

Thanks
Rob

Re: Create a One-Time registration screen

Posted: Fri Oct 08, 2010 9:02 pm
by dunbarx
Hi.

Store the registrant's information. On startup, check to see if that person is already on the list. A common way this is done is by entering either an email address or a password. Or whatever.

Note that if this is done as a standalone, the information has to be stored on a substack (perhaps that main screen?) or the info will not be saved between sessions. You create a splash stack that opens to the main (sub)stack, which can be both your registration screen and your main stack if you want. Or make two separate substacks.

Craig Newman

Re: Create a One-Time registration screen

Posted: Sat Oct 09, 2010 5:15 pm
by arkstar
Thanks Craig!

Actually, while I was waiting for a response, I figured out to use the cards Marked property.
After the reg button is pressed, I set the marked prop to true
I added a line that if the marked prop is true close the stack and go to the next one.
Seems to wrok perfectly but if there is a problem with this I would appreciate some insight into it.

thanks again!
Rob