Writing ° to text field

If you think you've found a bug post it here.

Re: Writing ° to text field

Postby cncdrive » Wed Jan 11, 2017 1:51 pm

I still can't reproduce this, but I looked through everything about the Textfields and I think I found the cause for the problem.
Because I can't reproduce the issue I've made a test .exe for you which I'm attaching here.
There is the text exe and the API for that, please replace these files in your installation and let me know if this fixes the issue?
Attachments
UCCNCtest.zip
(2.18 MiB) Downloaded 844 times
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Writing ° to text field

Postby ger21 » Wed Jan 11, 2017 4:17 pm

After I posted this last night, I changed all of my macros to use this method, which works correctly.
Code: Select all
string test = "25.405" ;
string degree = ((char)0x00B0).ToString();
AS3jog.Setfieldtext(test + degree, 20349); // Set Edge Angle


But I'll try the test version later today.
Thanks.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Writing ° to text field

Postby cncdrive » Thu Jan 12, 2017 10:52 am

OK, please let me know if this solved it or not when you will have some time to test it.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Writing ° to text field

Postby ger21 » Thu Jan 12, 2017 11:34 pm

No, it did not solve the problem.
You don't really need to look into this further, as I can use the method from my previous post, which works fine.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Previous

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 2 guests