mol wrote:I have suggestion for InputWindow function
1. Link ESC key to "Cancel" button
2. Internationalize "Cancel" button - caption of this button should depend from selected language.
Marek "MOL"
I also think so !
I think many few colleagues know about this resource of HMG.
I made some improvements in InputWindow and I made as
UDF (
InputWindow2) but if
HMG Development Team considere good to be included at HMG library (by replacing) for next release, please do not hesite to do it.
- Screen1.png (1.14 MiB) Viewed 6400 times
The improvements are:
- Default values, optimazing getting more clean code
- Add ToolTips for each controls
- Allowing HotKey definitions
- Internalization in Buttons Ok / Cancel
One example I prepared, here is in Polish, but could be changed for any language supported by HMG, like as:
Turkish, Czech, Croatian, Basque, English, French, German, Italian, Polish, Portuguese, Russian, Spanish, Finnish, Dutch and Slovenian
<Code source was removed because there is a updated version ahead of this topic>
Added implementation are absolutly optional. It's total full backward compatibility.
I made this because I found relevant to be improved when I was looking at HMG library for easy and simple edition.
I hope you enjoy !