Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine pages selected via Print Dialog
Message
De
19/01/2010 01:21:55
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
18/01/2010 21:59:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01444675
Message ID:
01444683
Vues:
84
Hi Srdjan,

may be a bit offtopic

you need the listenertype property (TYPE clause of REPORT FORM command).
A value of 3 (for what I understand) will create all pages. The result may be send page by page listeners OUTPUTPAGE method to a self defined preview or printer or what else.
The other way is to hook the listener that ships with vfp (BINDEVENT(loListner,'IncludePageInOutput',loHandler,'IncludePageInOutput_Help',1)) and set the return from the helper as needed.

I have a complete interface (altered preview + listener) that allows the user to mark pages as excluded. If it is not to urgend I can describe you the way to create it, since I can not share. ::(

Agnes
>Dear All
>
>If let say report have 10 pages and user for instance select pages 3-6 only, is there any way to obtain this selection progamatically.
>
>I need to know exact range of pages selected in order to adjust report listener according to that selection.
>
>Any help os greatly appreciated.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform