Does anyone know or have a nice calculator plugin or bean for Servoy?
which can return results in a field?
HI Harjo,
I have a client that would love this as a feature also, is there any news on the availablity of such a plugin/bean? Or did you find a way ?
Regards
If any of you can find a nice, free calculator GUI written in Java, we could make it a freeware bean.
Hi Patrick,
Thankyou for your reply, I did find the following links that seem interesting, I really don’t need the scientific option but may be OK.
Yes, that looks promising. And you want to have that in a bean? As an element in a form?
And how could that work?
which can return results in a field?
What is a result? Whenever I hit “=” the current value should be written to a field? Or isn’t it better to just ask the calculator for the current value? Or maybe attach a method to the “=” button? Ideas?
I’d say that the best thing would be to be able to read a “result” property from the bean and also to be able to run a method when the user presses the “=” button of the calc, this should cover almost every possible usage scenario.
Hi Patrick,
For me it would be nice to have the following:
1)
And you want to have that in a bean? As an element in a form?
I would also like to be able to load it into a form in dialog so a bean would be good for this ??
2)
I’d say that the best thing would be to be able to read a “result” property from the bean and also to be able to run a method when the user presses the “=” button of the calc, this should cover almost every possible usage scenario.
I would also like to read the feilds value in as well eg. pop the calculator and have the feilds value passed as an argument, then hitting ‘=’ or ‘enter’ returns the result, after calc has been done.
Hi all,
looking at the calculator I wonder if a bean is the right approach. The calculator has a certain size. You will always have to make your bean at least that size etc. Wouldn’t a calculator that pops up in its own dialog make more sense?
Hi Patrick/Harjo,
Why use a bean in the first place. Why not make a module and use that in a solution (via FID or tabpanel).
It would also make it web-capable out of the box.
Just my 2 cents.
Of course, only that the Java calculator supports a lot of stuff that would be really hard to do otherwise. If only simple math is needed, your approach is better.