|
Technical answers from the trenches |
|
Controlling Report Magnification at Runtime
| ||||
Posted: 29 Novemeber 2000 |
||||
  |
Applies to: All Versions |
|||
  |
Audience: Beginner |
|||
Question: When viewing a report using interactive Paradox, I can use the View | Zoom menu command to change the magnification used to preview a report. Can I do this at runtime?Answer: Yes, using ObjectPAL. Here's a sample: var
rpt Report
endVar
if not rpt.open( "customer" ) then
errorShow( "Can't Open Report", "Use [>>] for details..." )
else
rpt.menuAction( MenuPropertiesZoom50 )
rpt.wait()
try
rpt.close()
onFail
; do nothing; it's already closed
endTry
endIf
The following "zoom" constants are available:
|
|||||||||||||||||||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 31 May 2003
|
||
|
|
||
|
[- End -]
|