Board index » delphi » how do I get a standard Win printer dialog box

how do I get a standard Win printer dialog box

to popup on click of a print button?

-----=  Posted via Newsfeeds.Com, Uncensored Usenet News  =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
 Check out our new Unlimited Server. No Download or Time Limits!
-----==  Over 80,000 Newsgroups - 19 Different Servers!  ==-----

 

Re:how do I get a standard Win printer dialog box


From the IDE, select the "Dialogs" tab.
Drop a PrintDialog component on your form.
In the button's OnClick event call PrintDialog1.Execute

Quote
arwar wrote:

> to popup on click of a print button?

> -----=  Posted via Newsfeeds.Com, Uncensored Usenet News  =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
>  Check out our new Unlimited Server. No Download or Time Limits!
> -----==  Over 80,000 Newsgroups - 19 Different Servers!  ==-----

--

"I suppose everything in existence takes its color
from the average hue of our surroundings."

        - H.G. Wells

Other Threads