Page 4 of 5

Re: Conversational Wizards

PostPosted: Wed Jan 10, 2018 7:23 am
by dezsoe
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.

Re: Conversational Wizards

PostPosted: Wed Jan 10, 2018 8:53 am
by dezsoe
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

Re: Conversational Wizards

PostPosted: Wed Jan 10, 2018 1:13 pm
by Dan911
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

Re: Conversational Wizards

PostPosted: Wed Jan 10, 2018 3:35 pm
by bennyhines70
Dan looks great ,could you add coolant feature.

Re: Conversational Wizards

PostPosted: Wed Jan 10, 2018 4:03 pm
by ger21
He's already got it, M7 and M8.

Re: Conversational Wizards

PostPosted: Wed Jan 10, 2018 6:39 pm
by bennyhines70
Thanks Gerry , overlooked that.

Re: Conversational Wizards

PostPosted: Sat Jan 13, 2018 2:27 am
by Dan911
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

Re: Conversational Wizards

PostPosted: Sat Jan 13, 2018 4:57 am
by Sword
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

Re: Conversational Wizards

PostPosted: Mon Jan 15, 2018 2:32 am
by Sword
I'll see if I can dig up all the bits and pieces of it.

Re: Conversational Wizards

PostPosted: Mon Jan 15, 2018 7:48 pm
by Sword
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.