Search found 124 matches
- Wednesday 11th September 2019 6:13am
- Forum: General
- Topic: Using Keypress
- Replies: 1
- Views: 3116
Using Keypress
This is a little routine to use the Sub Form_KeyPress to determine whether a key was a numeric number or not. Might be a good routine to place into a calculator program or a program where you can use keyboard numbers entered. ' Gambas class file Public Sub Form_Open() '******************************...
- Sunday 8th September 2019 7:47pm
- Forum: Project showcase
- Topic: Fractions Caculator
- Replies: 18
- Views: 20652
Re: Fractions Caculator
I fixed the crashing error and you can fix it as follows.
At the end of the btnEquals sub find:
are entered incorrectly.
At the end of the btnEquals sub find:
If Error Then Message( Error )
Replace it with:Catch
Message(Error.Text)
That will prevent the program from crashing when the numbersare entered incorrectly.
- Friday 6th September 2019 6:43pm
- Forum: Project showcase
- Topic: Fractions Caculator
- Replies: 18
- Views: 20652
Re: Fractions Caculator
Thank You for your suggestions I will give it a try. As for crashing the program I should of put an error catch in the program. You normally would enter the 2 then hit [Inch] and then click on [+]. I will put a catch statement into the program to catch the error. I have been programming since 1982 w...
- Thursday 5th September 2019 6:55pm
- Forum: Project showcase
- Topic: Fractions Caculator
- Replies: 18
- Views: 20652
Fractions Caculator
Here is the latest version of my fractions calculator. I have changed the name to HandymanCalc with new features. I have added a multi document interface which now includes a conversion utility, and a conversion chart. Depending on your desktop and color scheme you may have to change the colors to y...