Shawna
04-10-2002, 02:28 PM
The attached demo has and Edit Field that requires an entry of some kind to continue with the demo. It is set up as follows:
There is an initial Event Object that sets the cursor inside the Edit Field. This is to ensure that focus is given to the Edit Field. If focus is not given to the Edit field, the comparison can never be made.
The demo asks the user to enter their name and hit Enter. When the user does this, it triggers the comparison. The Comparison String in the Object Sytles tab has been left empty because we want to check if the user has not entered thier name. Under the Actions tab, we have the following set:
True Actions (the user has not entered name): Show the error Text Object
False Actions (the user did enter name): Go to Scene #1
There is an initial Event Object that sets the cursor inside the Edit Field. This is to ensure that focus is given to the Edit Field. If focus is not given to the Edit field, the comparison can never be made.
The demo asks the user to enter their name and hit Enter. When the user does this, it triggers the comparison. The Comparison String in the Object Sytles tab has been left empty because we want to check if the user has not entered thier name. Under the Actions tab, we have the following set:
True Actions (the user has not entered name): Show the error Text Object
False Actions (the user did enter name): Go to Scene #1