Peter Cushing wrote:
> Paul Newton wrote:
>
>> I found that this approach (SHOW WINDOW ChildForm) does not seem to
>> actually fire any events of ChildForm - not when I tried it
>>
> Hi Paul,
>
> SHOW WINDOW childform fires the ACTIVATE event for me with standard
> forms (I.e. not top level or subclassed or anything unusual). Not
> really tried any other combinations.
Peter
That is what I would expect. My settings for the parent form are
Top-level form, Desktop = .T. and AlwaysOnTop = .T.
I have actually tweaked the code to deal with childform exists but not
visible:
IF NOT WEXIST("ShowData")
DO FORM ShowData WITH THISFORM.TargetForm,"aShowData"
THISFORM.ChildForm = ShowData
ELSE
IF NOT WVISIBLE("ShowData")
SHOW WINDOW ShowData
ENDIF
THISFORM.ChildForm.Refresh(THISFORM.TargetForm,"aShowData")
ENDIF
I'm very happy with this
Cheers
Paul
_______________________________________________
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/[EMAIL PROTECTED]
** 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.