Slava,
>I tried this:
>
>protected override void btnNew_Click(object sender, System.EventArgs e)
> {
> oFilters.NewRow(new FiltersDefaultValues("MyDef1","MyDef2"));
> }
>
>I got three (?) new rows, two of them with my default values and one without them.
>How can I keep all functionalities of mmButtonNew, but not create extra new rows?
Good question...the problem is the behavior that adds a new record is built into the New button and there's no way to turn it off. I'll add logic to the behavior buttons that turns off the default behavior when the button's BindingFlag property is set to false, and that will address the problem in the next release. I plan to do a release sooner than later to release the localization forms anyway. If you're interested, I can get you an early release!
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com