Problems with startup layers.

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

Re: Problems with startup layers.

Postby ger21 » Tue Sep 04, 2018 12:24 pm

Robertspark wrote:If you have two layers with the same number....


He doesn't.
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 » Tue Sep 04, 2018 12:27 pm

Thank you Gerry. Yes, i know that is simple workaround and i'm using it, but i hope that Balazs will give us some explanation about this issue.
kig23
 
Posts: 158
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Re: Problems with startup layers.

Postby kig23 » Wed Sep 19, 2018 9:58 am

The problem is solved. There is no need to workaround. The problem was in the tab section of the screenset file and not in select startup layers section. Here is a simple example. If you have in between of the tabs ( with parent layer 1 ) other tabs with other parent layers, when you save the screenset file with selected layer 3 at startup on the layer 3 you'll see layer 21 or 22 overlaped. I think that the select startup layers section is related to the tab section.
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);

If you put the layer 21 and 22 after all layers with parent layer 1 in the tab section, when you save the screenset file with selected layer 3 at startup you'll see layer 3 and works like expected.
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,166, 27, 161, 26, 92, 3, 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);


Hope this is useful.
kig23
 
Posts: 158
Joined: Sat Mar 31, 2018 6:58 am
Location: Italy

Previous

Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 11 guests

cron