Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13581 > unrolled thread

Print subdata window

Started byRolf <brbhusar@gmail.com>
First post2022-03-24 03:06 -0700
Last post2022-03-31 04:37 -0700
Articles 5 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Print subdata window Rolf <brbhusar@gmail.com> - 2022-03-24 03:06 -0700
    Re: Print subdata window Franz Rachbauer <office@rachbauer.org> - 2022-03-24 17:59 +0100
      Re: Print subdata window Rolf <brbhusar@gmail.com> - 2022-03-25 03:49 -0700
        Re: Print subdata window "Wolfgang Riedmann" <wriedmann@gmail.com> - 2022-03-29 06:05 +0200
          Re: Print subdata window Rolf <brbhusar@gmail.com> - 2022-03-31 04:37 -0700

#13581 — Print subdata window

FromRolf <brbhusar@gmail.com>
Date2022-03-24 03:06 -0700
SubjectPrint subdata window
Message-ID<9b7cfa6b-7abf-4e8a-bf02-c0f87b0764aan@googlegroups.com>
Hello,
my name is Rolf and I live in Germany and I am new here.
My question is :
I would like to print a complete subdata window. So far I have only been able to print the visible part with the scrollbars using the tips from this forum.
Is there a possibility to print the complete subdata window?
I would be grateful for an example.

Rolf

[toc] | [next] | [standalone]


#13582

FromFranz Rachbauer <office@rachbauer.org>
Date2022-03-24 17:59 +0100
Message-ID<t1i81e$vs0$1@gioia.aioe.org>
In reply to#13581
Do you mean all records of the server behind the subdata window?
If so you can loop through this server and print all fields using 
ReportPro or print it manually. You have to design the output by 
yourself, its not a hardcopy of the window.
Franz

Am 24.03.2022 um 11:06 schrieb Rolf:
> Hello,
> my name is Rolf and I live in Germany and I am new here.
> My question is :
> I would like to print a complete subdata window. So far I have only been able to print the visible part with the scrollbars using the tips from this forum.
> Is there a possibility to print the complete subdata window?
> I would be grateful for an example.
> 
> Rolf

[toc] | [prev] | [next] | [standalone]


#13583

FromRolf <brbhusar@gmail.com>
Date2022-03-25 03:49 -0700
Message-ID<46c23d9f-b757-47fd-8d6b-122f861de166n@googlegroups.com>
In reply to#13582
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

[toc] | [prev] | [next] | [standalone]


#13584

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2022-03-29 06:05 +0200
Message-ID<jafes4Fc435U1@mid.individual.net>
In reply to#13583
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



-- 

[toc] | [prev] | [next] | [standalone]


#13585

FromRolf <brbhusar@gmail.com>
Date2022-03-31 04:37 -0700
Message-ID<82f0c3fb-16b7-433f-86da-11ec94282a15n@googlegroups.com>
In reply to#13584
Hello Wolfgang,

I will take your tips into account.

Thank you very much.

Rolf

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web