Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting ActiveForm
Message
De
24/05/2006 15:30:02
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Setting ActiveForm
Divers
Thread ID:
01124654
Message ID:
01124654
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform