Undocumented filed (1000)

This is where you talk about Plugins. How they are made and how they work, show examples.

Undocumented filed (1000)

Postby coon » Sat Dec 02, 2017 7:44 pm

Hey there, I found out there is an undocumented field. The ID is 1000 which is the MDI input field. In "Fields_by_number.htm" this is marked as reserved.
Posts: 15
Joined: Sat Dec 02, 2017 2:01 pm

Re: Undocumented filed (1000)

Postby cncdrive » Sun Dec 03, 2017 2:01 am

Yes, that's correct.
Textfield 1000 is the MDI input field and it seems it is missing from the documentation.
I'll add it to the document now.
Site Admin
Posts: 2003
Joined: Tue Aug 12, 2014 11:17 pm

Re: Undocumented filed (1000)

Postby Robertspark » Sun Dec 03, 2017 7:32 am

What do you want to use the MDI field for with a plugin (or macro)

You have exec.code and exec.codesync
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2105, Neuron Lite
UCCNC v1.2105 Macro Manual
Posts: 775
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Re: Undocumented filed (1000)

Postby coon » Sun Dec 03, 2017 12:13 pm

I don't want to use it. I just defined an enum with all field codes, so I have symbolic names instead of plain numbers in my source code. When I was investigating the example plugin I've noticed there is a check for a field with an id of 1000 inside the Textfieldtexttyped_event() callback, which is the mdi input field but I had no enum constant, since it was documented as reserved. That's all. :)
Posts: 15
Joined: Sat Dec 02, 2017 2:01 pm

Return to Plugins

Who is online

Users browsing this forum: No registered users and 1 guest