In the Init of the Modal form:
thisform.AddProperty("callingform",_SCREEN.ActiveForm)

In the Click of the button to release the modeless form from the modal form:
IF VARTYPE(thisform.callingform)="O"
  thisform.callingform.Hide()
  thisform.callingform.Release()
  thisform.callingform = null
ENDIF

Note that the modeless form isn't actually totally released from memory
until the modal form is closed.  The Hide method makes it look like it went
away.

Fred


On Tue, Jun 26, 2012 at 5:17 PM, G Gambill <[email protected]> wrote:

> How to Close a modeless form from a modal form
>
> TIA
>
> George
>
> --
> Success builds confidence. Failure builds knowledge.
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>  text/plain (text body -- kept)
>  text/html
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBksqNKNZq6NNbQt7YCLXwLsLn=jgtsynpxgakg3slobl...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to