Tools plugin for everybody
Hello forum,
Just for the fun of it I wanted to be the first (I hope or else one of the first) to give you the taste of a homebrew Plugin for Servoy.
Not too much but for me very convenient with three methods:
- dateFormat: very much like the Java dateFormat class to convert a date to a string and the other way around with (or without) a formatting string;
- secondsFormat: to make a number of seconds a string formatted like HH:mm:ss
- validateEmail: based on a method I posted earlier on this forum now as a method in this plugin. It takes a string with one or more email adresses and checks if the format is right.
The reason I made them (initially for my own use) was that I needed to do the same calculation over and over again on different forms. However you can't reach a method via a calculation field.
I didn't want to ask for a feature since the guys at Servoy are already busy enough and to trigger myself to learn Java and making a Plugin.
The result is attached. Just drop it in your plugins folder and restart Servoy.
Feel free to use it and distribute it.
Any suggestions? Please let me know!
Any bugs? Please tell me!
Any new features needed? Please ask me?
Any questions? I don't know if we are allowed to use this forum for it but for now: Ask me!
Happpy? Don't hasitate to share it with me...
Cheers
BTW you need at least Servoy v2.0b6