Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inkey()
Message
De
17/10/2006 14:36:01
 
 
À
17/10/2006 14:31:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01162644
Message ID:
01162665
Vues:
17
>>>>Hi All
>>>>
>>>>Does anyone know of any issues relating to the use of INKEY() within a DO WHILE ... ENDDO loop? I am having a strange issue where I am looping through a file and testing INKEY() on each loop. And the wierd thing is that if I press a key during the loop an open cursor that I am using gets closed even if I completely ignore the key pressed! Is there a known issue under VFP9/SP1?
>>>
>>>How about some repro code?
>>
>>Yeah, trying to think about how to do that :) Wierd thing is that it seems dependent on what I do before hand in my app. I can cause it to happen consistently if I follow a certain sequence but I'm really stumped. Even just including a some_dmmmy_var = INKEY() statement and pressing any key at all causes this issue which results in my cursor closing - provided I did something else first which to me seems unrelated. Complicated to create repro code for this but I am thinking about it :) Need to refine the process / investigation but I was hoping there was a known issue. Will get back to the list with more info asap.
>
>Maybe you need to add a Clear Typeahead or two?

No it's something else. As soon as I press the key my cursor is closed, well before it gets closed by my routine. Need to review it further...
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform