TARGET:
Enter a number on 1st Number Textbox, Press Enter then it should go to the 2nd Number TextBox. Press ENTER again, and it should List the answers on ListBox.
The Designer Window
FOR LOOP
On Designer Window, double click on TextBox1. It Will show you the above image. On the top right side, change it from TextChange to KeyPress
Then enter this code:
If e.KeyChar = Chr(13) Then
TextBox2.Focus()
End If
Back to designer Window, Double Click on TextBox2.
The above image will come up.
Input the Codes and Test it.
---------------------------------------------------------------------------
DO WHILE LOOP
On Designer Window, Double click TextBox3. Follow the code on the Image.
On Designer Window, Double click on TextBox4. Follow the Codes on the Imgae.
Test it!!!
---------------------------------------------------------------
DO UNTIL LOOP
On Designer Window, double click on TextBox5 and input codes below.
On Designer Window, double click on TextBox6 and input codes below.
DONE! Test it...
On Designer Window, Double click TextBox3. Follow the code on the Image.
On Designer Window, Double click on TextBox4. Follow the Codes on the Imgae.
Test it!!!
---------------------------------------------------------------
DO UNTIL LOOP
On Designer Window, double click on TextBox5 and input codes below.
On Designer Window, double click on TextBox6 and input codes below.
DONE! Test it...
No comments:
Post a Comment