Page 1 of 1
New Buttons for costumising screen-set
Posted:
Tue Dec 20, 2016 9:40 am
by carsten@ullerup.org
Hi. Costumizing my screenset i have been drawing a couple of new buttons, and placed them in the Flashscreen folder. But - how do i find them in the screen editor. The screen editor requires a "picturenumber", - how do i assign a picturenumber to my button??
/Carsten
Re: New Buttons for costumising screen-set
Posted:
Tue Dec 20, 2016 10:50 am
by cncdrive
You can add new images with the Screen editor Images tab page.
At the bottom of that page you can find an Add image image button and you can set the picture number you want for your image.
Then when the new image is created click on it's path link in the list to browse add your image.
And finally change the picturenumber property of your button to that number to render the newly added image on your button.
Re: New Buttons for costumising screen-set
Posted:
Wed Dec 21, 2016 9:40 am
by carsten@ullerup.org
Hi.
I succeded to "make the buttons for my screen and has written the macro for the functions.
Hereby enclosed the buttons and the code.
Please feel free to use them.
I have great succes using the x and Y1/2 function finding the centers of the material using an edgefinder, in manual jobs
The Button Y/2_up will be added in a seperate post !!!!
// Macro for 1/2 X
double Xposvariable = exec.GetXpos(); //Get X DRO value
double half = Xposvariable/2;
AS3.Setfield(half, 226);
AS3.Validatefield(226);
// Macro for 1/2 Y
double Yposvariable = exec.GetYpos(); //Get Y DRO value
double half = Yposvariable/2;
AS3.Setfield(half, 227);
AS3.Validatefield(227);
Re: New Buttons for costumising screen-set
Posted:
Wed Dec 21, 2016 9:41 am
by carsten@ullerup.org
Button Y/2_up