Page 1 of 1

Colorpicker boxes on apearance page

PostPosted: Sat Apr 12, 2025 1:40 am
by Greolt
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?

Re: Colorpicker boxes on apearance page

PostPosted: Sat Apr 12, 2025 12:19 pm
by ger21
Open the default screen, and use the screen editor to find their numbers.

Re: Colorpicker boxes on apearance page

PostPosted: Sun Apr 13, 2025 6:07 am
by Greolt
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.

Re: Colorpicker boxes on apearance page

PostPosted: Mon Apr 14, 2025 2:02 am
by Greolt
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 3424 times


No big deal, not concerned by it.

Re: Colorpicker boxes on apearance page

PostPosted: Tue Apr 15, 2025 11:49 pm
by ger21
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.

Re: Colorpicker boxes on apearance page

PostPosted: Wed Apr 16, 2025 8:18 am
by Greolt
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.

Re: Colorpicker boxes on apearance page

PostPosted: Wed Apr 16, 2025 9:01 am
by Greolt
Correction:
It would not stick because I was running 1.2115

It does in 2.118