Hi All,
When I modify the report it comes either into a window that VFP creates or I can create the window by myself. The problem is that if that window comes on top of another form and I click on that form, then the Report’s window is destroyed.
I tried to control that via a custom code and it did not help. I even made this window as Modal as seen in that code below. I am trying to keep this window open as long as it is needed and only when user is closing it then it should be destroyed.
Any idea?
m.loForm=NEWOBJECT("MyReport","MyForm.Prg")
MODIFY REPORT mMate WINDOW (m.loForm.Name)
DEFINE CLASS MateReport AS FORM
AutoCenter = .T.
Name="frmReport"
AlwaysOnTop=.T.
Width=1075
Height=635
Comment=This.Caption
WindowType=1
ENDDEFINE
Regards,
Doron