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

  • Time for Rebuilding

    Well, there's nothing like research. Having determined that DDR5 is going to carry a substantial price premium over DDR4 memory for at least a year…

  • Driven Wild

    The studio computer continues to misbehave in various ways. When I fired up Cubase today, I got a lot of nasty, blocky video, despite having cleaned…

  • Some Old Doggerel

    I recall having mangled a CSN tune many years ago on the way to Contraption. Like that convention, the particular co-worker whose code I was digging…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded