Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 01:43:53 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Wizard questions?
Pages: 1   Go Down
Print
Author Topic: Wizard questions?  (Read 908 times)
0 Members and 2 Guests are viewing this topic.
ger21
Global Moderator
*
Offline Offline

Posts: 2,612



View Profile WWW
« on: January 02, 2009, 11:16:28 AM »

Two quick questions about. The docs say you can save all your wizard DRO's with SaveWizard(). I want to build wizards right into my screen set, so how can I save the DRO's if the wizard is not a standalone wizard?  Building the wizards into the screenset would eliminate waiting for the wizards to load.

If I can't save the built in wizards, how can I call a specific wizard from a button?
Logged

Ron Ginger
V4 Screen Contributor

Offline Offline

Posts: 568



View Profile WWW
« Reply #1 on: January 02, 2009, 06:03:39 PM »

You can simply add a screen to the standard screen set. Make a button on the main screen to go to your page- DoButton('page number')

Mach will save all the DROs and LEds into the xml of the base screen set. You dont need to use SaveWizard()

The only problem with this is you are sharing the DRO numbers with the base screen set- you will have to look through the screen set to be sure you dont duplicate any of them. You are also sharing the number set with any macropump that runs. If you stick to the higher end of the numbers- say 1200- 1256 you might be OK.
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,612



View Profile WWW
« Reply #2 on: January 02, 2009, 09:26:01 PM »


Mach will save all the DROs and LEds into the xml of the base screen set. You don't need to use SaveWizard()


Do I need to use Config >Save Settings? Or will the User DRo's be saved automatically when exiting?

This will be a completely custom screenset, so sharing DRO's shouldn't be a problem.
Logged

poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #3 on: January 02, 2009, 09:28:30 PM »

Ger,

    If you want, download a copy of the "CNC Saw" screen set I did. It was a wizard made into an operator screen. Give you a place to start.

scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!