Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmButtonNew.BindingSource
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00940818
Message ID:
00941220
Views:
21
>My question is: Given that there will only be one business object on most of the forms I will subclass from bxCardForm, is there any point in setting the BindingSource property of these four buttons on the table-specific forms?

You don't need to set the BindingSource property as long as you register the business object as the form's primary business object (RegisterPrimaryBizObj()).

>Everything seemed to work fine before I set the BindingSource property, and setting it didn't seem to change any behavior.

Right...if you don't specify it, MM .NET will figure it out.


>1) Should I be concerned that TableName and ViewName are both empty after the call to mmBindingStrategyBase.GetBindingSource?

No, this is expected behavior. if you bound the control to a DataView, the DataView name would show up.

>2) Was it appropriate for me to copy the above btnNew block of code into my bxCardForm?

It was!

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform