Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddDescToFormTitle not appearing first time
Message
 
À
28/07/2007 18:19:28
Rick Hawkins
Rose Valley Software Studio
Wallingford, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01244389
Message ID:
01244760
Vues:
17
Rick,

>I have noticed that when I set the AddDescToFormTitle to TRUE on a maintenance form, the description does not appear after the "first" requery of data is performed. I have a grid I am using as the Nav control, and when I move off of the first record to a different record, the descriptive title than appears in the window titlebar. The description continues to appear correctly after this. So the problem seems to occur during that first initial requery of data.

In the constructor of your form have you set the DataGridView bound to your primary business object as the form's Navigation Control? For example:
this.NavControl = this.grdOrders;
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform