Page 1 of 1

HMG3 autorelease

Posted: Fri Oct 14, 2011 9:50 am
by l3whmg
Hi friends I need help to remember better HMG3 events to replicate the same on HMG4

I have a MAINFORM open with this settings:
  • SET INTERACTIVECLOSE ON, AUTORELEASE ON, OnInteractiveClose is NIL, OnRelease is aaaaaaa()
I have a otherform (CHILD/STANDARD) open with this settings:
  • SET INTERACTIVECLOSE ON, AUTORELEASE OFF, OnInteractiveClose is NIL, OnRelease is bbbbbbb()
IF I click upon [X] of otherform this form is hide: that's ok. The related OnRelease function bbbbbbb() is execute? I think NO

Now I click upon [X] of MAINFORM: what happens? Remember: otherform is hide
The Onrelease bbbbbbb() function related with otherform is execute?

Many thanks
Cheers
p.s. other question
I have a MAINFORM open with this settings:
  • SET INTERACTIVECLOSE ON, AUTORELEASE ON, OnInteractiveClose is NIL, OnRelease is aaaaaaa()
I have a otherform (CHILD/STANDARD) open with this settings:
  • SET INTERACTIVECLOSE ON, AUTORELEASE OFF, OnInteractiveClose is NIL, OnRelease is bbbbbbb()
The otherform is already hide.
Can I close the MAINFORM?