Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To Read or not to READ that is my question
Message
De
06/08/1998 10:58:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00124432
Message ID:
00124473
Vues:
19
>He just uses modal forms. He doesn't have a startup prg but rather a login form is set as the calling form in the project.
>
>>Kevin,
>>
>>I'm certainly in favor of READ EVENTS. You need some way to generate a wait state in your application. Other than starting a modal form, I'm not sure of another practical way to do this. I don't think I've run across a VFP programmer who doesn't use it. What alternative does your colleague use?
>>
>>>I've been having a 'discussion' with another programmer and we seem to have a disagreement concerning READ EVENTS (programmers disagreeing? Impossible you say?) He is of the mind that the READ EVENTS is an unecessary command and that it is really 2.6 thinking not OOP. Everything I have read seems to indicate otherwise. In fact if my understanding of READ EVENTS is correct, it is a integral part of OOP and is NECESSARY if you want to use things like toolbars and menus (neither of which his app contains). It also seems to negate the cumbersome task of halting your program with a dialog box or wait window if you call an outside app like MS Word (something else he has to do). I always use READ EVENTS in my apps and have not run across any reason NOT to use it. Anyway I'm just wondering if my thinking is correct or is his? Is READ EVENTS all it's hyped up to be? Also are there other things that READ EVENTS allows you to do that you could not otherwise do that I didn't mention here?


READ EVENTS is the way to do it. Modal forms are very limiting and run contrary to Windows...you can only have one open at a time. Have your co-worker take a look at Word or Excel...you can certainly have multiple windows open...and available at once.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform