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.
If your code and usage is something similar to this it is ok:
- Code: Select all Expand view RUN
- CLASS TApp
DATA oFont
....
METHOD New(...) TApp
....
DEFINE FONT ::oFont NAME .....
Usage:
- Code: Select all Expand view RUN
DEFINE DIALOG oDlg oApp:oFont
ACTIVATE DIALOG oDlg
// You shoud not End oApp:oFont here
// oApp:oFont:End() //Not correct. Excess destoyal
oApp:oFont:End() should be used only once at the end of the entire application.