Colorpicker boxes on apearance page

If you created a new screenset and want to share it with others then please post it here. You can talk about screens here.

Colorpicker boxes on apearance page

Postby Greolt » Sat Apr 12, 2025 1:40 am

With that earlier version of UCCNC that I started with, I edited the default screenset to suit my own preferences. Both for plasma and router.
As you may know it is quite a time consuming thing to do.

I am trying to bring that screenset up to date with later versions of UCCNC without doing all my own edits again.

So where I am having difficulty is mostly on the appearance page. There are more color selection boxes and some more checkboxes in later versions.

The color selection boxes are called Colorpickers in editing mode. There is no list in documentation for Colorpickers.

So how do I set a new Colorpicker box to a specific item?
Greolt
 
Posts: 262
Joined: Sun Sep 04, 2016 6:22 am

Re: Colorpicker boxes on apearance page

Postby ger21 » Sat Apr 12, 2025 12:19 pm

Open the default screen, and use the screen editor to find their numbers.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2810
Joined: Sat Sep 03, 2016 2:17 am

Re: Colorpicker boxes on apearance page

Postby Greolt » Sun Apr 13, 2025 6:07 am

Yes I was doing that. Expected something more than label number to assign to a Colorpicker.

Anyway I have now updated my screenset ready for 2118 when it is the stable release version.
Greolt
 
Posts: 262
Joined: Sun Sep 04, 2016 6:22 am

Re: Colorpicker boxes on apearance page

Postby Greolt » Mon Apr 14, 2025 2:02 am

The only thing I cannot get right is the "Default toolpath view" selector on the appearance page.

Pic is of 1.2118 and my screenset.

14-04-2025 11-57-06 AM.jpg
14-04-2025 11-57-06 AM.jpg (9.1 KiB) Viewed 3423 times


No big deal, not concerned by it.
Greolt
 
Posts: 262
Joined: Sun Sep 04, 2016 6:22 am

Re: Colorpicker boxes on apearance page

Postby ger21 » Tue Apr 15, 2025 11:49 pm

The only thing I cannot get right is the "Default toolpath view" selector on the appearance page.


You have to edit the screen file to get comboboxes to work.
Go into your screen file, and find these similar lines, which is the box you added to the screen. Make sure it's label #12.

Code: Select all
AS3.Addcombobox("Arial", 746, 400, 100, 16, -16777216, 0, 12, 9);
AS3.Clearcomboboxitems(12);


Then add these lines immediately following the above lines, and save the screen.

Code: Select all
AS3.Addcomboboxitem("view45", 12);
AS3.Addcomboboxitem("viewright", 12);
AS3.Addcomboboxitem("viewleft", 12);
AS3.Addcomboboxitem("viewtop", 12);
AS3.Addcomboboxitem("viewISO", 12);
AS3.Addcomboboxitem("viewlathe", 12);
AS3.Validatenewcomboboxitems(12);
AS3.Updatecomboboxselection(0, 12);


It should then work.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2810
Joined: Sat Sep 03, 2016 2:17 am

Re: Colorpicker boxes on apearance page

Postby Greolt » Wed Apr 16, 2025 8:18 am

Wow Gerry, I never would have worked that one out in a month of Sundays.

Could not get my selection "ViewTop" to stick, so I edited this line to select option 3.

AS3.Updatecomboboxselection(3, 12);

Thanks again.
Greolt
 
Posts: 262
Joined: Sun Sep 04, 2016 6:22 am

Re: Colorpicker boxes on apearance page

Postby Greolt » Wed Apr 16, 2025 9:01 am

Correction:
It would not stick because I was running 1.2115

It does in 2.118
Greolt
 
Posts: 262
Joined: Sun Sep 04, 2016 6:22 am


Return to Custom Screensets

Who is online

Users browsing this forum: No registered users and 3 guests