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.

From Franz Rachbauer <office@rachbauer.org>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: VO with ReportPro 2.12 printing a coloured block.
Date 2017-02-06 18:07 +0100
Organization Aioe.org NNTP Server
Message-ID <o7aah0$f0u$1@gioia.aioe.org> (permalink)
References <237104c3-d6f8-488d-a22e-41caddce7c74@googlegroups.com>

Show all headers | 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