?
Solved

PageNums on PrintDialog

Posted on 1998-06-09
2
Medium Priority
?
189 Views
Last Modified: 2010-04-04
If I put the poPageNums option ON for the PrintDialog, it doesn't enable the corresponding entry fields. Is it a bug?
0
Comment
Question by:skanade
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
ronit051397 earned 90 total points
ID: 1351811
with PrintDialog1 do
begin
  Options:=[poPageNums];
  MinPage:=1;
  MaxPage;=99;
end;
0
 

Author Comment

by:skanade
ID: 1351812
Ronit,

If I do that, the dialog doesn't come up. I did some experimentation and found that to let the dialog come up I just need to enter some number in maxpage. But, again that is not the behavior I want. I don't know how many pages are in my huge printout and with the above approach, the ALL text becomes "All 99 pages?" which I don't want.

Finally, I found that if I just set maxpage to -1, it leaves the ALL text untouched and also enables the entry of page numbers as in Windows 3.1. So, this is the solution I will use.

However, I want to thank you for pointing me in the right direction.

Sanjay
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question