Hi Ricci.
I think your jobs with GETDATE, NUMGETC is great, but I don't understand why you don't choose to improve (or change if it's not good) current TEXTBOX object.
On the other hand, I don't understand this:
Ricci wrote:I could not wait until TEXTBOX will work as it should be so I decided to create a stripped Textbox class
on this topic
http://hmgforum.com/viewtopic.php?f=32&t=2237
Many people don't write anythink about my commit regarding TEXTBOX: so, I think it works. No people have thought to make changes to the code: so, I think it works.
When I start to rewrite TEXTBOX, I found different solution for numeric data, date and so on in very simple way rather than current/previous HMG4 textbox pov (I remember to everyone that previous version it doesn't work), but I choose to find a solution in agreement with HMG3 style and follow HMG4: one object textbox with inputmask for different data type.
One object it's not a good solution? Ok, but we must remove TEXTBOX object and work on different objects. As I write to you and to MrDuck there is not problem related with HMG3 command because they know the data type, so we can call the right OOP object. But we will have different appearances between OOP and command; a little example:
With OOP we will write "WITH OBJECT NUMGETC" with command we will write "DEFINE TEXTBOX"
With OOP we will write "WITH OBJECT GETDATE" with command we will write "DEFINE TEXTBOX"
But the most important question now is: what object must be used and improved by volunteers?
Otherwise, if I were a newbe what I can choose or understand? TEXTBOX (for every data type but only with command style) or GETDATE or NUMGETC with OOP syntax?
And we spent energy in most directions and HMG4 will not complete.
I repeat: Ricci your work is great, but I don't understand where are problems to use/improve current objects or to change pov.
AFAIK, null date work with current TEXTBOX as with DATEPICKER or there are problems?
@Rathi but not only: why did you not write anything about my TEXTBOX commit? It should not be considered? It is totally useless? I have the previous version: in a minute I can overwrite current textbox.
Best regards.
p.s. Related with "F2" I think can be better a CHECKBUTTON (or similar) near the field: when I click on it calendar will appear. Function keys can be used by program.
Cheers