Horizon wrote:Hi Antonio,
I think I have found one more problem in my app.
I use oFont variable from app. main in my class. But I always ::End() it.
::oFont := oFont
I think its not the correct syntax. How can I clone ::oFont variable from oFont?
Thanks.
If your code and usage is something similar to this it is ok:
CLASS TApp
DATA oFont
....
METHOD New(...) TApp
....
DEFINE FONT ::oFont NAME .....Usage:
DEFINE DIALOG oDlg oApp:oFont
ACTIVATE DIALOG oDlg
// You shoud not End oApp:oFont here
// oApp:End() //Not correct. Excess destoyaloApp:End() should be used only once at the end of the entire application.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India