Problems with startup layers.

If you have a question about the software please ask it here.

Re: Problems with startup layers.

Postby ger21 » Fri Aug 17, 2018 1:05 pm

I just think you have some items on the wrong layers.

If you want to send me the screen, I'll take a look at it for you.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: Problems with startup layers.

Postby kig23 » Fri Aug 17, 2018 2:25 pm

Hi Gerry, i've just sent you an email with example screenset. Thanks for you help.
kig23
 
Posts: 158
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Re: Problems with startup layers.

Postby ger21 » Fri Aug 17, 2018 3:17 pm

OK, I can duplicate that with my own screenset.

What it comes down to, I think, is that if you have child tabs, and the parent tab layer is a lower number than the starting tab layer, those child tabs will show up when the screen starts.

Not sure if you'd call it a bug, or if it's by design.

But, in the case of the screen you sent me, if you want the toolpath tab to be the starting tab, then it should be on layer 2, and the run tab should be layer 3.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: Problems with startup layers.

Postby ger21 » Fri Aug 17, 2018 3:21 pm

Balasz.

Here's what he's seeing.

If you have a screen with the following.

Tab 1 on Layer 2, with Parent Layer = 1.
Tab 2 on layer 21 is a child of Layer 2.
Tab 3 on layer 22 is a child of Layer 2.
Tab 4 on layer 3, with Parent Layer = 1

If the screen starts on Tab 4, then the child tabs of Layer 2 will display when the screen starts.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: Problems with startup layers.

Postby kig23 » Fri Aug 17, 2018 3:29 pm

Thanks Gerry. I'm gonna try to fix it, if i don't be able i'll send the example file to Balazs when he come back from his holiday. Thanks again
kig23
 
Posts: 158
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Re: Problems with startup layers.

Postby ger21 » Fri Aug 17, 2018 3:35 pm

Just make your startup tab be on layer 2, and you won't have any issues.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: Problems with startup layers.

Postby kig23 » Fri Aug 17, 2018 4:08 pm

Thanks Gerry.
kig23
 
Posts: 158
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Re: Problems with startup layers.

Postby kig23 » Tue Sep 04, 2018 6:30 am

Hi Balazs,
welcome back from your holiday. I've attached an example screenset file with the problem that i have. The screenset like you can see works with defaultscreen graphics. Basicly there are two main tabs (run and toolpath). On the run tab you have two sub tabs (about and aux enc.). The editscreen button is on the about tab. Just go in edit screen mode and open the toolpath tab and save the screenset file. When you restart UCCNC will open toolpath tab, but you'll see the sub tabs of run tabs. Thanks for your help.
Attachments
Test.ssf
(3.59 KiB) Downloaded 536 times
kig23
 
Posts: 158
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Re: Problems with startup layers.

Postby cncdrive » Tue Sep 04, 2018 6:42 am

This is in your file:

Code: Select all
//Add tabs to main screen
AS3.Addtab("", "Arial", "center",24, 0,70, 25, 84, 26, 31, 2, 1);
AS3.Addtab("", "Arial", "center",24, 0,480, 419, 130, 26, 33, 21, 2);
AS3.Addtab("", "Arial", "center",24, 0,610, 419, 130, 26, 34, 22, 2);
AS3.Addtab("", "Arial", "center",24, 0,166, 27, 161, 26, 92, 3, 1);


So, the parent of layer 21. and 22. seems to be layer 2. (run tab) and so it has to be selected for the 21. or 22. to be visible, because it is their parents.
If the parent is invisible (and it's items then) then the child also can't be visible.

And so the UCCNC then selects these layers:

Code: Select all
//Select the startup layers for the main screen
AS3.selectlayer(21);
AS3.selectlayer(2);


Why not layer 1. is the parent of layer 21. and 22.?
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Problems with startup layers.

Postby kig23 » Tue Sep 04, 2018 7:03 am

If i'm not wrong if i put layer 1 to be the parent of layer 21 and 22. I'll have layer 21 and 22 over other layer. I need layer 21and 22 to visible only on layer 2 (run tab).
kig23
 
Posts: 158
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

PreviousNext

Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 12 guests