main logo
Subject: Re: AutoYield Property
Author: "Ken McGinnis"
Posted: 2003/02/28 22:42:00
 
View Entire Thread
New Search


I agree. It has worked well for me since vfp5. In fpd2.6 I had a million private variables. vfp was my escape from that nightmare.
Once you free yourself, you will never again go back.


----- Original Message -----
From: "Ed Leafe" <ed /AT/ leafe .D.OT com>
To: <profox@leafe.com>
Sent: Friday, February 28, 2003 6:46 PM
Subject: Re: AutoYield Property


On Friday, February 28, 2003, at 09:34 PM, Sal wrote:

> ps does everyone other than me use a global application variable? Is
> that
> how Mere Mortals, CodeMine etc work? I really don't like global
> variables or
> assuming an application object exists.. and am happy to pass a
> reference to
> the application variable around where necessary.

Actually, if the application object is declared in the startup
program, it can be scoped to Private. But in essence, it is a global
reference, in that any object in any context can reference it.

I like having this one global reference simply so that I can simplify
inter-object messaging. If objects need to send a message to each
other, there are only three intermediaries I use: This.Parent,
Thisform, and goApp.

___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://opentech.leafe.com


[excessive quoting removed by server]



 
©2003 Ken McGinnis
<-- Prior Message New Search Next Message -->