Oct. 9th, 2012

Re-Formed

Oct. 9th, 2012 11:44 pm
billroper: (Default)
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.

*sigh*

Profile

billroper: (Default)
billroper

February 2026

S M T W T F S
1 2 3 4567
891011121314
15161718192021
22232425262728

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 5th, 2026 05:01 pm
Powered by Dreamwidth Studios