If your code and usage is something similar to this it is ok: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 ::oFont:End() it.
::oFont := oFont
I think its not the correct syntax. How can I clone ::oFont variable from oFont?
Thanks.
Code: Select all
CLASS TApp
DATA oFont
....
METHOD New(...) TApp
....
DEFINE FONT ::oFont NAME .....
Code: Select all
DEFINE DIALOG oDlg oApp:oFont
ACTIVATE DIALOG oDlg
// You shoud not End oApp:oFont here
// oApp:oFont:End() //Not correct. Excess destoyal