Bill Roper (billroper) wrote,
Bill Roper


Well, I found some more bits and pieces of the Windows Forms logic today and have greatly improved the situation with the ErrorProvider class by setting the AutoValidate flag for the form to EnableAllowFocusChange so that you can move around the form even though you've got a control that's currently been marked as invalid. If one of the other controls on the form lets you disable the invalid control, it's pretty much vital to do that. :)

Also, setting the AcceptButton and CancelButton for the form is really helpful.

I also worked over my homegrown Wizard Control so that it's correctly enabling and disabling the Back, Next, and Finish buttons, as well as setting the AcceptButton and CancelButton values for the parent form. And I fixed some places where I'd set up an incorrect Data Binding for combo boxes in the wizard that I'm writing.

It would have been nice to have a really good how-to book for this.

Tags: computers, microsoft, musings, tech, work

  • Binge Away

    We finished our trip through the first five seasons of "The Expanse" last night. We started out slowly watching this, as Gretchen found it extremely…

  • More Tired Than I Can Account For

    I am more tired today than seems reasonable. I think it's just mental exhaustion more than anything else. I'll get some sleep tonight and tomorrow…

  • Moving Forward, Into the Cold

    The fellow from the granite company came by today and took measurements for the new countertops. He used a laser measuring device that was…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded