Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine pages selected via Print Dialog
Message
De
19/01/2010 04:58:30
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
19/01/2010 04:40:42
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:
01444692
Vues:
94
This message has been marked as the solution to the initial question of the thread.
Check the use of CommandClause.PRINTRANGEFROM, .PRINTRANGETO or .RANGEFROM, .RANGETO, for what I remember one of those was influenced.

>Hi Agnes
>It is not urgent :)
>
>I have way to prevent undesired pages from being drawn, but I need to know range selected by user
>via standard print dialog. (One that apear when using prompt clause)
>
>TIA for input
>
>
>
>
>
>>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