Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difference in READ VALID and READ EVENT - see general thread
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Difference in READ VALID and READ EVENT - see general thread
Divers
Thread ID:
00125886
Message ID:
00125886
Vues:
55
Hi,

sorry for the cross posting from the general thread. but I thought that this would be a better place for my questions.I have a piece of code that goes like this:
---------
WHILE !quitevent &&main event loop
DO CASE
CASE menuevent
DO p_menuevent with ...... && process menu event
CASE windevent
DO p_windevent.... && process window event
OTHERWISE
READ VALID fndrdval() &&foundation read
ENCASE
ENDDO
....
....
FUNCTION fndrval
windevnt = .t.
RETURN
------------
What is the use of READ VALID as compared to READ EVENT?
I did some tinkering of my own (unfortunately my code is too
large and involves too many files to be posted here) got stuck at the READ VALID statement. The tracer will be stuck at READ VALID (looping over and over again at any knypress/mouse click) and then upon chancing on READ EVENT, I decided to try and my some freak chance,I got the whole code working.

Anyone has any ideas? Anyone encountered this problem during porting a FoxPro program from DOS to Windows?

Helpless
Ian
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform