|
Device IDE Tour |
Double tapping on Fahrenheit brings up the Property Editor. We change the Backcolor to vbGreen. |
|
Now we exit Visual Designer and run the program again. It looks a bit better, anyhow.
|
|
It's time to do the custom coding. We have two buttons called C2F and F2C. When they are tapped, the subroutines C2F_Click and F2C_click will be called. Let's type in the code for those subroutines, to end up with this result. How are the items in the Conversion menu going to work? Remember the Menu Key names we gave them? C2F and F2C? As a result, the menu will call the same subroutines that we've just written. Elegant, isn't it? |
|
It is time to test our program. Enter 0 into the Fahrenheit box and tap Convert to C. |
© NSB Corporation. All rights reserved. |