[DUG] D2006 Rave reports
John Bird
johnkbird at paradise.net.nz
Fri Sep 8 16:35:05 NZST 2006
Yes that did the trick thanks for bypassing the dialog, so I have solved 2
out of 3....
I would have solved this in time but I am having problems with the help - so
I am finding it difficult to lookup help about properties like ssAllowSetup.
What do others us for reference for Code Based reports?????????
For the other question - When I know the user wants to choose a printer is
there any way to either do the selection of printers myself or send the
rvSystem straight to the printer selection dialog?
I see there is a printers (Tstringlist) and a PrinterIndex which I might be
able to use, but as I can't find which unit to point to to access these
(because of the vague help). When I try and put code for "printers" the
code insight compiler helpfully thinks I mean the printers unit itself -
which is no help at all!
This is my best solution so far.....not exactly elegant
ShowMessage('Click the Setup button to see a list of printers and
options');
ie do nothing but in a friendly way :) !
John
-----Original Message-----
From: Cleon Pinto [mailto:capinto at gmail.com]
Sent: Friday, 8 September 2006 1:03 p.m.
To: johnkbird at paradise.net.nz; NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] D2006 Rave reports
Hi John,
there are some hints here:
http://www.nevrona.com/Default.aspx?tabid=87
hope its a little helpful
Cleon
On 9/8/06, John Bird <johnkbird at paradise.net.nz> wrote:
> Code based reports only (ie I am using only the rvSystem component) -
> I want to streamline the standard Rave print dialogue by setting
> defaults as I can already ask some of the relevant questions on an
> earlier form such as picking one of
>
> Preview
> Default Printer
> Select Printer & Printer Setups
>
> (I am already showing my own dialogue for my other selections in the
> report so it makes sense to have all the selections on one screen to
> avoid the users having to go through too many screens to get to the
> printer).
>
> Ideally I would like to then bypass the standard rvSystem print
> options dialogue which offers the same options again. I can already
> set the defaults for the dialog using rvSystem1.DefaultDest:= (one of
> rdPreview or rdPrinter)
>
> Q1 - Is there a way to tell rvSystem to not bring up the dialog?
>
> Q2 - Is there a way for selecting printer (the third option above) to
> tell it to go straight to the standard windows select printer
> dialogue? (ie either have it do a setfocus on the "Setup" button on
> the rvSystem dialog or bypass the rvSystem dialog and go straight to
> the printer selection/setup dialog).
>
> John
>
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi
>
__________ NOD32 1.1461 (20060329) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com
More information about the Delphi
mailing list