screenset definition : purpose of id

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

screenset definition : purpose of id

Postby cseyler » Tue Nov 02, 2021 2:07 pm

Hello,
As far as the tabs "labelnumber" represent "layers" on which other controls (like background, button, led,...) can be linked, i don't understand the purpose of the "control id" (background number, button number, ...)

Could you clarify the purpose of these IDs ?

Thanks in advance
cseyler
 
Posts: 71
Joined: Tue May 25, 2021 11:27 am

Re: screenset definition : purpose of id

Postby dezsoe » Tue Nov 02, 2021 3:19 pm

Which function has this parameter?
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: screenset definition : purpose of id

Postby cseyler » Tue Nov 02, 2021 4:12 pm

void Addbackground(double posX, double posY, double width, double height, int picturenumber, int backgroundnumber, int layernumber)

backgroundnumber ?

Function: void Addmdi(string labeltext, string labelfont, string textalign, int fontsize, int fontcolor, int posX, int posY, int width, int MDInumber, int layernumber)

MDINumber ?
cseyler
 
Posts: 71
Joined: Tue May 25, 2021 11:27 am

Re: screenset definition : purpose of id

Postby ger21 » Tue Nov 02, 2021 7:28 pm

To know which one it is if you have multiple backgrounds.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: screenset definition : purpose of id

Postby dezsoe » Thu Nov 04, 2021 12:08 pm

The backgroundnumber is not used, you can simply zero out. (It is there for backwards compatibility.)

The AddMDI function is not used. You can add MDI by placing field 1000.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 19 guests