Conversational Wizards

Discuss the creation and usage of Wizards

Re: Conversational Wizards

Postby dezsoe » Wed Jan 10, 2018 7:23 am

I think using checkboxes instead of radiobuttons is confusing. When you look at a window and see checkboxes, it means that you can check more than one, but if you see a group of radiobuttons, you know that you have to select one of them.

Making checkboxes work like radiobuttons is easy: e.g. you have cb1, cb2 and cb3, in the CheckedChanged event of cb1 you write

Code: Select all
if (cb1.Checked)
{
  cb2.Checked = false;
  cb3.Checked = false;
}

In cb2 you turn off cb1 and cb3 and so on.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Conversational Wizards

Postby dezsoe » Wed Jan 10, 2018 8:53 am

Yes, put it in the #Events section, as other event handlers. I made a quick search on youtube and attached a short tutorial with checkboxes and radiobuttons.

youtube video
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Conversational Wizards

Postby Dan911 » Wed Jan 10, 2018 1:13 pm

I cleaned up the interface and tried to make it more self explanatory but still needs some work. I realized after pic there's no need for a feed rate textbox for a canned cycle. Once again I'm focused on getting program to work correctly and produce good Gcode. As you can see I'm almost there. Welcome any negative comments on Gcode.

Wizard03.JPG
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Conversational Wizards

Postby bennyhines70 » Wed Jan 10, 2018 3:35 pm

Dan looks great ,could you add coolant feature.
bennyhines70
 
Posts: 6
Joined: Fri Mar 24, 2017 8:27 pm

Re: Conversational Wizards

Postby ger21 » Wed Jan 10, 2018 4:03 pm

He's already got it, M7 and M8.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Conversational Wizards

Postby bennyhines70 » Wed Jan 10, 2018 6:39 pm

Thanks Gerry , overlooked that.
bennyhines70
 
Posts: 6
Joined: Fri Mar 24, 2017 8:27 pm

Re: Conversational Wizards

Postby Dan911 » Sat Jan 13, 2018 2:27 am

Finishing up forth wizard. Create and cut square or rectangle with editable/type corners. Will upload soon, just haven't had a chance for thorough testing.

sqyare-rectangle.JPG
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Conversational Wizards

Postby Sword » Sat Jan 13, 2018 4:57 am

Back when I used Mach3 (10+ years ago), I made myself a keyslot or hangslot wizard. I do 1000's of various size plaques throughout the year and they all need keyhole slots of some form on them, so over the years, I've made a couple versions that worked on the machines I had/have (the old Mach3 wizard version and an input only driven one that used plain Basic). I even started making a stand alone one with VB.net several years ago, but not being a real programmer, I got lost in the code that was needed and kind of abandoned it.

Anyway, I thought I'd suggest it as a wizard and show a screenshot of the one I made for Mach3 and the abandoned .net one.

Scott
Attachments
Keyhole Wizard.JPG
KeySlotter.JPG
Sword
 
Posts: 16
Joined: Fri Dec 08, 2017 10:45 pm

Re: Conversational Wizards

Postby Sword » Mon Jan 15, 2018 2:32 am

I'll see if I can dig up all the bits and pieces of it.
Sword
 
Posts: 16
Joined: Fri Dec 08, 2017 10:45 pm

Re: Conversational Wizards

Postby Sword » Mon Jan 15, 2018 7:48 pm

Here's the old Mach3 version. In the VB version, I was setting it up for a center vertical one also. Some combination were not allowed, because it wouldn't make sense to do. For instance, only one centered vertical one was allowed as well as only one of the vertical pairs. Both horizontal center ones could be. I had some preset ones in the Mach3 version, but was working towards being able to save a set of settings as a preset in the VB version. If you think you could work with the VB version, I can see what I can zip up for that. It's been a while since I worked on it, so I'd have to see if I can get all the pieces together.
Attachments
Hangslots.zip
(332.42 KiB) Downloaded 1377 times
Sword
 
Posts: 16
Joined: Fri Dec 08, 2017 10:45 pm

PreviousNext

Return to Conversational Wizards

Who is online

Users browsing this forum: No registered users and 2 guests