Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View report with 75% zoom
Message
From
22/12/2004 13:47:25
 
 
To
21/12/2004 23:25:43
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00971265
Message ID:
00971537
Views:
22
*Replace myreport with your report name

LOCAL oPreviewForm
oPreviewForm = NEWOBJECT('PreviewForm')

REPORT FORM myreport WINDOW PREVIEWFORM PREVIEW

oPreviewForm.Release

DEFINE CLASS previewform AS form


	Height = 250
	Width = 375
	Desktop = .F.
	ShowWindow = 2
	ScrollBars = 3
	DoCreate = .T.
	AutoCenter = .T.
	BorderStyle = 3
	Caption = "Print Preview Window"
	ControlBox = .F.
	Closable = .F.
	MinButton = .F.
	Movable = .F.
	WindowType = 0
	WindowState = 2
	AlwaysOnTop = .F.
	Name = "previewform"


	PROCEDURE Deactivate
		DODEFAULT()
		IF WEXIST('Report Designer')
			MOUSE DBLCLICK AT -0.1,0.1 WINDOW "Report Designer"
		ENDIF
		IF WEXIST('Print Preview')
			MOUSE DBLCLICK AT -0.1,0.1 WINDOW "Print Preview"
		ENDIF
	ENDPROC


	PROCEDURE Init
		DODEFAULT()
		THIS.SHOW()
		CLEAR TYPEAHEAD
		KEYBOARD 'L'
	ENDPROC


ENDDEFINE
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform