Excercise: Text input field 2 (single dialogue)

Program an application that does the following:

1. Display a text input field on the screen.
The instruction in the text field should say: Type your first name:

2. Display a pop up note stating: Your first name is: <result from input field>
(After the user has typed in a word into to the text field and pressed „ok“).

3. Display another text input field on the screen.
The instruction in the text field should say: Type your surname:

4. Display a pop up stating: Your surname is: <result from input field>
(After the user has typed in a word into to the text field and pressed „ok“).

5. Display a pop up note stating: Your full name is: <result from both input fields>

 

Example file: ex_text_input_2.py

 

 

 

 

 

 

 

 

 

Previous | Next | Menu     Copyright (c) 2006 Jurgen Scheible