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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preview report on top level

Status
Not open for further replies.

R17

Programmer
Jan 20, 2003
267
PH

i have form1 that opens form2. form2 has a print button that opens form3. and in form3 i have this in ok button,

Code:
case thisform.opgreportoutput.value=1
	thisform.hide()
	oform = _screen.activeform
	oform.hide()
	set classlib to prev additive
	opreviewfrm=createobject("PrintPreview")
	release classlib prev
	keyboard "{ctrl+f10}"
	report form &creport environment noconsole preview in window printpreview
	opreviewfrm=.null.
	oform.show()
	thisform.show()

it works perfectly fine when i try to run the form in the command window. all forms are the visible except for the printpreview.

if i run the exe, form1 is on top of the printpreview.

what's wrong?
 
Set Form1 property --> AlwaysOnTop = .F.


Gene
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top