Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting ActiveForm
Message
From
24/05/2006 15:30:02
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Setting ActiveForm
Miscellaneous
Thread ID:
01124654
Message ID:
01124654
Views:
54
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
Map
View

Click here to load this message in the networking platform