Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 09:46:28 PM

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
| | |-+  calling a wizard wth a button
Pages: 1   Go Down
Print
Author Topic: calling a wizard wth a button  (Read 1491 times)
0 Members and 1 Guest are viewing this topic.
Csquared
Active Member

Offline Offline

Posts: 14


View Profile
« on: March 05, 2009, 07:18:21 PM »

Is it possible to select a specific wizard with a button as opposed selecting the wizard selection menu and choosing from the list of wizards?
I would like the button to load the specific wizard and see no drop down menu.
Thanks for any help.
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #1 on: March 06, 2009, 10:06:25 AM »

Here is the code from Art himself,

LoadWizard( "MyWizName" )

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/
Csquared
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #2 on: March 08, 2009, 01:00:12 PM »

Hi Scott,

This looks like what I am looking for.
I tried it with a few of the wizards that I know work.
I was not able to get a specific wizard to come up.

The line of code that you gave was   LoadWizard("MyWizName").
I tried  LoadWizard("CutArc") as a test and could not get any results.
I used a script button and had the line - LoadWizard("CutArc")  in it.

What am I missing?
This is an important function in our machine from an operator stand point  and I am hoping that you can help.

Thanks,
Chuck
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,612



View Profile WWW
« Reply #3 on: March 08, 2009, 01:22:11 PM »

Try this:

LoadWizard("Cut Arc")

Note the space. Smiley
Logged

Csquared
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #4 on: March 08, 2009, 01:30:49 PM »

Gerry,

Thank you.
This is great, very happy!
Logged
selim
Holding

Offline Offline

Posts: 1


View Profile
« Reply #5 on: September 20, 2009, 08:47:31 AM »

Thank you.
Logged
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!