Page 1 of 1

Save User Checkbox State to Profile.

PostPosted: Sat Nov 19, 2016 12:30 am
by ger21
Can you have the Save Settings button save the state of User Checkboxes to the profile?
Right now I have to do it with the Destructor macro, but it would be better for the Save Settings button to do it, for more consistent interface operation.
You could add a section like this:

[UserCheckboxes]
20101=True
20102=False

Then I use the Constructor macro to read the key and set the state when UCCNC starts.

Re: Save User Checkbox State to Profile.

PostPosted: Sat Nov 19, 2016 3:47 pm
by cncdrive
OK, we can do that. Will implement this soon.

Re: Save User Checkbox State to Profile.

PostPosted: Sat Nov 19, 2016 4:10 pm
by ger21
Awesome, Thanks. :D

Re: Save User Checkbox State to Profile.

PostPosted: Sat Nov 19, 2016 4:34 pm
by ger21
I should have thought about this before, but can the same be done for fields?
I have 25-30 custom fields on my screen, and you have the same situation. Save Settings does not save them

Re: Save User Checkbox State to Profile.

PostPosted: Sat Nov 19, 2016 5:01 pm
by cncdrive
No problem, we can do that also ... will save Textfields ID>=20000 and Checkboxes ID>=20000.

Re: Save User Checkbox State to Profile.

PostPosted: Sat Nov 19, 2016 5:18 pm
by ger21
Excellent