Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying in the back ground ?

Status
Not open for further replies.

Siddiq

MIS
Sep 23, 2000
46
0
0
PK
Dear friend,

I am using this code in my application and it is working
perfectly... but the problem is, it is showing in the main
visual foxpro window , and I want it within the main top level form. If anyone can help I will be most thankful...

oForm = CREATEOBJECT("Form")
WITH oForm
.Caption = "whatever"
.WindowState = 2 && Maximized
.Show()
ENDWITH
REPORT FORM mainreport PREVIEW WINDOW (oForm.Name)
oForm.Release()


Best regards
 
I proposed this code a few days ago to a programmer that wanted exactly the opposite of what you want. So it worked for him, but in your case don't create a seperate form just do a straight:
report form myReport.frx preview
And it will show up in your top-level form.
 
Yes friend you are right I got this code from tek-tips.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top