>>Yes I never have another public variable other than oApp. It's also true that other than oApp all of my variables are local (and in my training classes I tell to the students that only type is local as far as they work with me or be good enough to prove me wrong).
>>
>>Yes I'm sure I wouldn't want to communicate that difference in the name. Reason is simple, it in turn makes my classes hard to modify (when I do would I go and change all references say from frm to pop or other way?).
>>
>>Cetin
>
>One of my global variables is glTrace_RS, a global switch for trace activity. I use this with all my code whether or not it is built into the application.
>
>This seems quite useful to me.
>
>Do you use the "txt" class prefix? What happens if you turn a text box into an edit box? Or a combo box? Or a list box?
>
>Peter
As I said only public variable in VFP is oApp and rest wishfully avoided by VFP itself:) If you need it just have it as a property of oApp.
I can't turn a textbox to an editbox or combobox etc. They are different classes. If I do that by also changing the class, it's simple to change them vs a form case because it is likely a textbox or any other object is referenced in code for 0 or few times. Just a single replace all would do.
Cetin