Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: mach1cnc on June 27, 2009, 01:28:25 PM

Title: How to add Wizard to the List
Post by: mach1cnc on June 27, 2009, 01:28:25 PM
Need some help here... tried to get some free space by taking some functions out of my main mill - screen.set -
So I would like to make a own small wizard, which should appear in the pull-down Wizard List on the top of mach.

Ok. managed to build small mywizard.set and made a folder with the name "mywizard" under the Addons folder.
Placed mywizard.set there...

but how do I get the mywizard appear in the wizard - list ???

would be glad if someone could help....  my search for "add wizard to list" or something like that is without success.. ::)

thanks
timmi
Title: Re: How to add Wizard to the List
Post by: ger21 on June 27, 2009, 01:41:45 PM
Check chapter 5 here.
http://www.machsupport.com/docs/Mach2_6.11_Custom.pdf
Title: Re: How to add Wizard - Button to Open Wizard
Post by: mach1cnc on June 27, 2009, 02:33:29 PM
Thank You very much Gerry!
Wow!! very fast solution - testwizard is up and running..

next small problem:

want to load the WIzard with a Button in the normal screen.set -

tried to use  the example "LoadWizard(Powerfeedxy)"  but there seems nothing to happen...

ok  - I´m using this code by putting it in a  G-code   M....    .m1s - only the M...  is placed in the Button ....  perhaps that´s the problem ::)

thanks
timmi
Title: Re: How to add Wizard to the List
Post by: ger21 on June 27, 2009, 07:00:04 PM
Loadwizard ("PowerfeedXY")