Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and setfocus
Message
De
24/09/1999 07:47:19
James Boden
Software Solutions For Business
Cumberland, Maryland, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid and setfocus
Divers
Thread ID:
00268409
Message ID:
00268409
Vues:
47
I have a grid with 8 columns. 3 out of the 8 are enabled when the add button is selected. The person is then allowed to get to the column in fact they are placed there with a setfocus. The first column that they are placed in is a combo box so they can type in the an item number. It then brings in the price, description, and any discount and delivery charges. The enter or tab in the grid will place them in the quanity field and they key in the qty. the enter or tab key will then place them in the discount field. At that point it will check the price to see if it is blank. If it is not it will take them to the save button using the setfocus. From the save button it will place them on the add button and the cycle start over. The problem is after the first item is place in the grid and they place a second item in the grid. It will select the first column, which is a combo, but it is bouncing back to the save button. It acts like it is still on the grid column that it left. So when the grid is reenabled it hits that field and goes back to the save button. If I do a cancel it them functions correctly. If any help please email me.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform