PDA

View Full Version : input question


inferno
08-04-2005, 04:37 PM
i am a begginer and i am wondering how to make this work:

when you run the quiz a input panel displayes "enter your name"
how to make the entered name (shown of course) stay on one place so you can't change it anymore

markstaylor
08-04-2005, 06:26 PM
After the name has been entered disable the inputbox.
Input.SetEnabled("Input1",false);

or

Once the name has been entered when the inputbox gets focus use:
Page.SetFocus("Button1");

good luck

stickck
10-10-2005, 02:46 AM
i did something similar to that but i used an input dialog and then called the results to a label.

like this...

strName = Dialog.Input("Vehicle Maintenance Test Module", "Please Enter your Name", "Your Name Here!!!", MB_ICONQUESTION);

and then this...

Label.SetText("user_label", strName);

i did the same for the test name.

hope this helps

chris