General information
Category:
The Mere Mortals .NET Framework
I have a problem with the active form not being set.
I am using the mmNavigatoinToolStrip control as a component in a User Control for navigating around my data object.
I open a form (frmCompanies) using
mmAppDesktop.FormMgr.Show(new frmCompanies(_StoreKey, _StoreName), this);
In the frmCompanies form I open a frmContacts form using
frmContacts frmNew = new frmContacts();
mmAppDesktop.FormMgr.Show(frmNew, this);
When I use the navigation bar on the frmContacts form, the frmCompanies data changes. I have been chasing the problem and in the frmContacts form when I check the ActiveForm
mmAppDesktop.FormMgr.GetActiveBusinessForm().Name
I get "frmCompanies". Since the Navigation Tool Strip seems to be using the active form, this seems to be my problem. Any idea how I might be managing to NOT set the active form?
Thanks,
Jeff
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only