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


Groups > comp.lang.clipper.visual-objects > #10137

Re: VO with ReportPro 2.12 printing a coloured block.

Path csiph.com!aioe.org!.POSTED!not-for-mail
From Franz Rachbauer <office@rachbauer.org>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: VO with ReportPro 2.12 printing a coloured block.
Date Mon, 6 Feb 2017 18:07:39 +0100
Organization Aioe.org NNTP Server
Lines 28
Message-ID <o7aah0$f0u$1@gioia.aioe.org> (permalink)
References <237104c3-d6f8-488d-a22e-41caddce7c74@googlegroups.com>
NNTP-Posting-Host Jz4x0Iu+n4cFFZSOisK/Ng.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.clipper.visual-objects:10137

Show key headers only | View raw


With RpPrinter (handcoded) you can do this with:
oRpPrinter:DrawRectangle([nFromY], [nFromX], [nToY], [nToX], 
[nLineThickness], [nLineStyle], [oLineColor], [nBkGndStyle], [nBkGndColor]).

With RpReport (designer) maybe:
design the needed coloured rectangles and give them a PrintWhen clause 
depending on a var.

Regards, Franz

Am 06.02.2017 um 17:25 schrieb simon@abersoftware.co.uk:
> Hi All,
>
> Been a long time since posting here!
>
> Anyone still using reportpro to print reports?
>
> I want to print a block of colour onto a report based on a RGB value from the database. (Each item on the report can be painted in a different colour so I wanted to print this colour alongside each item if I can.)
>
> Anyone have any ideas?
>
> TIA
>
> Simon
>
> My only idea at the moment would be to generate BMPs of each colour and print that onto the report. Not sure if I can create a UDF for report pro that would generate this BMP on the fly.
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

VO with ReportPro 2.12 printing a coloured block. simon@abersoftware.co.uk - 2017-02-06 08:25 -0800
  Re: VO with ReportPro 2.12 printing a coloured block. Franz Rachbauer <office@rachbauer.org> - 2017-02-06 18:07 +0100
  Re: VO with ReportPro 2.12 printing a coloured block. simon@abersoftware.co.uk - 2017-02-06 09:48 -0800
  Re: VO with ReportPro 2.12 printing a coloured block. Robert van der Hulst <rjvanderhulst@gmail.com> - 2017-02-06 15:09 -0800
    Re: VO with ReportPro 2.12 printing a coloured block. simon@abersoftware.co.uk - 2017-02-08 01:32 -0800
  Re: VO with ReportPro 2.12 printing a coloured block. Martin <Martin@spam.spam> - 2017-02-07 09:46 +0000

csiph-web