Not sure if this will help, but here it is. Try it after loFrm.Activate() ACTIVATE WINDOW (loFrm.Name)
Also, you might want to add NOSHOW to the DO FORM command. -----Original Message----- From: MB Software Solutions Sent: Thursday, May 17, 2007 10:51 AM Richard Kaye wrote: > How about loFrm.Show instead? > Actually, I'm already doing that (and so that's not it): LPARAMETERS tlActivate IF NOT EOF(this.cCursor) THEN LOCAL loFrm as Form, liCustID as Integer, lcName as String liCustID = EVALUATE(this.cCursor + ".iid") lcName = ALLTRIM(EVALUATE(this.cCursor + ".cname")) DO FORM .\forms\frmAccounts WITH liCustID, lcName NAME loFrm IF oUtils.AddForm(loFrm,loFrm.cUniqueID,.T.) THEN loFrm.Show() IF tlActivate THEN loFrm.Activate() ENDIF ELSE loFrm.Release() ENDIF ENDIF _______________________________________________ Post Messages to: ProFox@leafe.com 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.