In the above thread:
http://www.forum.cncdrive.com/viewtopic.php?f=9&t=538#p3750
I am presenting my probe screen and offering it for anyone who wishes to use it. Unfortunately, it seems that there is an issue which may be a bug, or may be something I am doing wrong.
I am using the new user fields feature, but it seems that it is not working as expected, at least not for me.
If I click in the field and not change the value, just leave and click in another field, the value which was in the field is lost, the field is cleared (literally, not set to zero, but empty). This is not the case with the axis DRO fields, so how can i preserve the value and prevent that the value is lost because of a mistake?
My constructor macro looks like this:
- Code: Select all
AS3.Setfield(Convert.ToDouble(exec.Readkey("UserTextfields", "20002", "0.0")), 20002); // Set numeric field
AS3.Validatefield(20002);
AS3.Setfield(Convert.ToDouble(exec.Readkey("UserTextfields", "20003", "0.0")), 20003); // Set numeric field
AS3.Validatefield(20003);
I don't understand why this is not working or what else is needed. According to Gerry, it is working for him, so what is the difference? Why?
Would appreciate any help.