Page 105 - KEC Khaitan C5 Flipbook
P. 105

2. Wrong Answers

                 Make sure the app multiplies instead of adding and the loop runs from 1 to 10.

                 3. App is Slow or Freezing

                 Check if the loop runs only 10 times and remove extra blocks.

                 4. Button Not Working
                 Ensure the button click block is added and the TextBox is not empty.

                 5. Table Not Updating

                 Clear the list before new calculations and reset global Answer to 0.

                 6. Cannot Enter Number

                 Set TextBox1 to NumbersOnly in Designer View.

                 7. Testing the App

                 Use Do It in the Blocks Editor to check values.



                        REVISIT



                   ▶  The User Interface (UI) is everything you see and touch on a screen when using an app.
                   ▶  A good User Interface (UI) helps people use an app easily. It makes sure everything on the
                     screen is clear, simple, and easy to understand.
                   ▶  Accessibility means the app should be easy for everyone to use, even people who have
                     trouble seeing or hearing.
                   ▶ A Multiplication Table App helps users learn multiplication easily.
                   ▶ Debugging is the process of finding and fixing errors (mistakes) in a program or app.







                                                   HANDS-ON PROJECT



                 PROJECT NAME: Multiplication Table App

                 A Multiplication Table App helps users learn multiplication easily. When a number is
                 entered in the box, the app shows the multiplication table from 1 to 10 in a list. To make
                 Multiplication Table App, follow these steps:

                 Step  1   Click on Start a new project and name it MultiplicationTables app.

                 Step  2   Drag  a Label from the Palette  to  the Viewer, then set  its  properties:  Text to
                           MultiplicationTables, FontSize to 30, check FontBold, and align it to Center.




                                                                            User Interface (UI) Programming and Logic  103
   100   101   102   103   104   105   106   107   108   109   110