stylesheet syntax for new window location and size
February 19, 2004, 10:14 AM
-* The focexec with drill-down: TABLE FILE CAR PRINT COMPUTE TOPLEFT/I2 = SEATS * 3; COMPUTE WDT/I3 = WIDTH * 6; COMPUTE HGT/I3 = HEIGHT * 6; ON TABLE SET STYLE * TYPE=DATA, FOCEXEC = TARGET( \ -* "Resizing" parameters: PTOP = SEATS \ PLEFT = SEATS \ PWIDTH = WDT \ PHEIGHT = HGT \ -* Other parameters: -* ... ),$ ENDSTYLE END
-* The TARGET focexec: TABLE FILE CAR SUM SALES BY COUNTRY ON TABLE HOLD AS RPT1 FORMAT HTMTABLE END -RUN -HTMLFORM BEGIN
Another method is to use a "proxy" focexec, which just redirects report request to the "real" target, and resizes and moves the browser window on-the-fly. In this case the target focexec does not need any changes.
-* "Proxy" target: -HTMLFORM BEGIN
Hope this helps GrzegorzThis message has been edited. Last edited by: <Mabel>,
February 19, 2004, 02:05 PM
creative, grzegorz. thanks. our outlook is bolted down so tightly that no js will run from it. but you've given me a great idea to try a diff. way.