Search found 123 matches

by cage
Wednesday 2nd December 2020 2:12am
Forum: General
Topic: Keypress on a Form
Replies: 5
Views: 5265

Re: Keypress on a Form

Here is examples of how I do it... Take note of when a key is released Public Sub Form_KeyRelease() If (Key.Code = Key.ShiftKey) Then ShiftPressed = False Speed = 1 End If If Key.Code = Key.Up Then UpPressed = False If Key.Code = Key.Down Then DownPressed = False If Key.Code = Key.Left Then LeftPres...
by cage
Sunday 29th November 2020 7:57am
Forum: General
Topic: Toolbar problem
Replies: 4
Views: 3520

Re: Toolbar problem

Quin that solved a problem I was having too. Many times I had a problem with the spring but never thought to look in the hierarchy tab. Thanks for that tid bit.
by cage
Friday 23rd October 2020 5:58pm
Forum: Project showcase
Topic: Fractions Caculator
Replies: 18
Views: 19722

Re: Fractions Caculator

On my version of Gambas which is 3.15.2 latest stable version, I tried 123456789 X 9 and I got the same answer as his calculator program.
by cage
Wednesday 21st October 2020 3:24am
Forum: Project showcase
Topic: Fractions Caculator
Replies: 18
Views: 19722

Re: Fractions Caculator

1/2 + 1/2 -> Type mismatch: wanted float got string instead : 2 + 3/3=3 is correct pushing 9 left field -> 1 123456789 X 9=98765424 (never ever) galculator gives me 1111111101 so IF that thing IS calculating i need a second calculator to proof the result ... nice Sorry to say I can not duplicate yo...
by cage
Tuesday 20th October 2020 6:11pm
Forum: Project showcase
Topic: Fractions Caculator
Replies: 18
Views: 19722

Re: Fractions Caculator

Thanks Charlie, that actually makes the program perfect. Don't know why I didn't think of that :oops:
by cage
Monday 19th October 2020 12:29am
Forum: Project showcase
Topic: Fractions Caculator
Replies: 18
Views: 19722

Re: Fractions Caculator

Found the problem but it was in a different location. Now 1/2 / 9/32=1 25/32 instead of 1 7/9. This because 7/9 is not a measurement in construction calculations, meaning the smallest number in in 64s. Now 1 / 8/16=2 as you said. I remove the unnecessary items from the menu. The updated version is i...
by cage
Sunday 18th October 2020 11:11pm
Forum: Project showcase
Topic: Fractions Caculator
Replies: 18
Views: 19722

Re: Fractions Caculator

Thanks Charlie for the input. I will look into fixing it. As for the menus I originally had them there to load the different parts of the program. I should of deleted them since the are all loaded at runtime.
by cage
Monday 21st September 2020 6:16pm
Forum: Project showcase
Topic: Fractions Caculator
Replies: 18
Views: 19722

Re: Fractions Caculator

It's not a bug in the calculator as far as I can find. I will see what I can do to fix it. The default calculator doesn't even like it with small decimals dividing by another decimal. Example .50/.25 as you showed equals 2 and not .25. So that answer is not correct either. How ever with the same def...
by cage
Monday 21st September 2020 5:04am
Forum: Project showcase
Topic: Fractions Caculator
Replies: 18
Views: 19722

Re: Fractions Caculator

I have reworked the Fractions Calculator and made it easier to use. It uses a layout similar to the type of Fractions Calculator on a smart phone. Enjoy.
by cage
Saturday 12th September 2020 4:25am
Forum: Component
Topic: TextEditor background
Replies: 4
Views: 4751

Re: TextEditor background

Glad you solved the problem. Yes post all you can find out about it. :D