Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Print subdata window Date: Tue, 29 Mar 2022 06:05:24 +0200 Lines: 43 Message-ID: References: <9b7cfa6b-7abf-4e8a-bf02-c0f87b0764aan@googlegroups.com> <46c23d9f-b757-47fd-8d6b-122f861de166n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: individual.net JwcQoSjCSwuYahybCuuR2wvUdjmdvBdZ/EjsIwqscFD5Hy3BI= Cancel-Lock: sha1:OhltTuQ8amVdfQCJSKx4Sob2BLU= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:13584 Hi Rolf, unfortunately this is not possible easily, as the non visible parts of the window are not rendered on the screen, and therefore the Print() method of the window cannot copy them. If you need that really, you have to get the controls manually from the window using the Windows API, retrieve their coordinates and fonts and render them on the print surface. I don't know if some advanced screenshot tools can accompish that scrolling the subdatawindow on purpose. Your best bet would be to enlarge the main window as possible to show the entire subdata window. Wolfgang Rolf wrote: > Hello Franz, > > I have a Data-Dialog Window with a Sub-Data Window. > > The Sub-Data Window is not connected to any server. It contains a > combination of texts and graphics. The content of the Sub-Data Window > is often larger than the actual Sub-Data Window, so there are > scrollbars for scrolling. > > With the simple method Sub-Data-WIndow:Print() only the visible part > of the Windows is printed. I have been looking for alternatives here > in the forum for the last few days and have found them. But even the > alternatives only print the visible part. > > It would help me if I could save the complete content of the sub-data > window as a graphic. > > Rolf --