StrataFrame Forum

MaintenanceFormToolStrip...

http://forum.strataframe.net/Topic6291.aspx

By StarkMike - 1/26/2007

If I have two business objects on the same form and neither of them is the primary business object, and I have two MaintenanceFormToolStrips on the same form... can I bind one toolstrip to one BO and the other toolstrip to the other BO?
By StrataFrame Team - 1/26/2007

No, the MaintenanceFormToolstrip is designed to call the methods on the parent form.  And the parent form, in turn, uses the IncludeInForm settings to call the corresponding methods on the included busines objects.  There's no way to have one MFTS use one business object and another MFTS use another business object unless you create your own toolstrip.
By StarkMike - 1/26/2007

Thanks. I wish I could use your buttons to create my own toolstrip. There goes my consistent look and feel. Tongue
By StrataFrame Team - 1/26/2007

You could drop a MFTS on your form and set the .Image property of your toolstrip buttons equal to the .Image property of the corresponding MFTS button...
By Larry Caylor - 1/26/2007

Or if you’re able to spend a few bucks, you could purchase the icon set from  

http://www.iconexperience.com. I’ve used a number of them in my applications to provide a look and feel that is consistent with the framework.

By Michael Reese - 3/6/2007

Since we cannot have multiple MaintenanceFormToolstrips on a single form. Can we add browse dialogs without the toolstrips?
By StrataFrame Team - 3/6/2007

Yes, you can drop as many BrowseDialogs on a form as you want... you can only set one of them to be the dialog called by the Browse button on the maintenance form toolstrip.  However, you can manually show a BrowseDialog by calling ShowDialog() on it, so you can just add a button or a toolstrip button somewhere and manually call the other BrowseDialogs.