Save User Checkbox State to Profile.

Here is where you can request new features or special features.

Save User Checkbox State to Profile.

Postby ger21 » Sat Nov 19, 2016 12:30 am

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.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Save User Checkbox State to Profile.

Postby cncdrive » Sat Nov 19, 2016 3:47 pm

OK, we can do that. Will implement this soon.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Save User Checkbox State to Profile.

Postby ger21 » Sat Nov 19, 2016 4:10 pm

Awesome, Thanks. :D
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Save User Checkbox State to Profile.

Postby ger21 » Sat Nov 19, 2016 4:34 pm

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
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Save User Checkbox State to Profile.

Postby cncdrive » Sat Nov 19, 2016 5:01 pm

No problem, we can do that also ... will save Textfields ID>=20000 and Checkboxes ID>=20000.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Save User Checkbox State to Profile.

Postby ger21 » Sat Nov 19, 2016 5:18 pm

Excellent
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 10 guests