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
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded