Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Java-free report preview 1999-04-14 -- Glenn Rathke To make the IC report previewer caffeine free modify the ICReport.clw as
follows:
In the accept loop add the following:
OF ?Close
Post(Event:CloseWindow)
Change the Window structure to:
PreviewWindow WINDOW('Print Preview'),AT(0,0,200,200),AUTO
GROUP,AT(0,0,180,20)
REGION,AT(0,0,16,14),USE(?First)
REGION,AT(20,0,16,14),USE(?Previous)
IMAGE('vcrfirst.gif'),AT(0,0,16,14),USE(?vcrFirst)
IMAGE('vcrup.gif'),AT(20,0,16,14),USE(?vcrPrevious)
STRING(@s255),AT(40,0,60,14),USE(CurPageText)
REGION,AT(100,0,16,14),USE(?Next)
REGION,AT(120,0,16,14),USE(?Last)
IMAGE('vcrdown.gif'),AT(100,0,16,14),USE(?vcrNext)
IMAGE('vcrlast.gif'),AT(120,0,16,14),USE(?vcrLast)
END
REGION,AT(190,0,16,14),USE(?Close)
IMAGE('close.gif'),AT(190,0,16,14),USE(?vcrClose)
STRING(''),AT(0,40,200,50),USE(?CurrentPage)
GROUP,AT(0,100,180,20),USE(?ButtonGroup)
END
END
Immediately after WebWindow.Init add the following line:
WebWindow.AllowJava = False
Today is November 21, 2024, 3:33 am This article has been viewed 35207 times.
|
|