Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReadOnly BO's
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01223268
Message ID:
01228125
Vues:
10
Sarosh,

>Tried that but it still won't go to the new row. If there are no rows in the grid when I call this.NewRow(...) it works but if there are 1 or more rows then it stays on the row it was on and does not move to the newly added row.

If your form is a subclass of mmMaintenanceForm you can call the NavigateNew() method to navigate to the new row. Otherwise, you can take a look at the code in this method to see what needs to be done.

>The behaviour I want is for a group of text boxes to behave like a grid and be able to set NavControl to them e.g. this.Navcontrol = this.textbox1 similar to this.NavControl = this.grdCustomers when using grids.

The NavControl is specifically designed to be a DataGrid or DataGridView--a user interface control that has more than one item in it. It's not designed to be a textbox. I don't understand what you mean by making the textbox a navigation control.

>Is it possible for you to connect to my PC and have a quick look? I have to give a demo of the application next week.

I won't be able to do so tomorrow but perhaps Friday if you still can't figure out how to accomplish what you need.

>Yes the pre-built navigation toolbar with the Add/Delete/Save/Cancel buttons is what I am looking for. I can add the buttons myself but am not sure how I can write generic code to enable/disable the buttons based on the current active control on the active form. Is is possible to get that toolbar class sooner than its official release?

Absolutely!

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform