Mat,
>I want to subclass the framework's Users Form and add a 4th Tab for Settings. There will some settings and preferences that can be set by User for my application. I would like to add some additional fields to the Users table and then when the user logs in, I can read these settings and adjust for each user.
>
>My question is what is the best way to do this? I have subclassed the mmUsersForm and added a new tab. I then added several controls to this tab, but how do i extend the mmUser bizobj and tell my form to use it. Any help is appreciated.
Just create a subclass of mmUser, extend it as needed, then override the CreateUserObject() method in your application's Factory.cs file. For example:
public override mmUser CreateUserObject()
{
return myUserObject();
}
Best 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