Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor not advancing in grid
Message
De
02/08/2002 20:50:28
 
 
À
02/08/2002 19:11:52
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00685757
Message ID:
00685775
Vues:
23
Hi Bruce,

-Does your grid have othe active columns?
-Have you tryied setting the focus back to the control in your Grid after you close the pop up form?
-Try adding the command DOEVENT in your code and see if this helps, I say this because you mention that you are using "some flags".

I have a grid for order entry. When a quantity is entered I check in the valid to see if there is enough stock to cover it and if not I use CREATOBJECT to pop up a modal form showing quantities available and giving the user a choice to continue with the order or not. When they choose to continue I hide the info form, obtain the answer (T or F) and release the form and the variable. So far so good. In VFP 6 it did not advance to the next column even if the Valid returned True and I had to use some flags to make sure the message form did not keep popping up and when it did not, the next TAB or ENTER moved on to the next column. Under VFP 7 the cursor does not advance and even if I click on another column, the cursor does not advance out of that column when I TAB although all the methods that are supoosed to fire do so and the valid and lost focus are returning True. Can anyone help? Thanks in advance.
***************************
Bruce Gilmour
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform