Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why would you want an app without a READ EVENTS command?
Message
From
07/07/1999 15:27:49
 
 
To
07/07/1999 13:04:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00238317
Message ID:
00238473
Views:
22
>Hi Craig,
>
>>The READEVENTS is there to stop the application and wait for an event to
>>happen. A modal form, in a sense, stops the application too.
>
>I know that, it's in the manual. My question was to find out if anyone out there had opinions as to why to use such a method in lue of readevents.

I wouldn't do it that way. I think it was done, as you said, because he was moving from 2.x. READEVENTS is really a paradigm change for many 2.x developers.

>
>
>>Is he doing a SCATTER MEMVAR before calling the form? This would create
>>PRIVATE variables that would be visible in the form methods.
>
>Nope. You don't have to do that to make visible. I tested it. Create a blank form, place a checkbox, and a command button on it. In the checkbox set the controlsource property to "m.var" then in the commandbutton click event, refer to the m.var variable, and sure enough, the click event of the command button can "see" the variable. I was really surprised at this behavior as it seems to go against what I would you could do or, what you are supposed to do, in vfp. ??

I read Erik's explanation on this. Make sense to me.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform