TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: EMIL HANSEN
date: 1997-05-28 02:57:00
subject: TPrinterSetupDlg

* Copied from: DELPHI_R23.PUB
Hi
A question for Delphi 1...
It says in the help that subj. has an execute method, and they give an
example much like:
  if PrinterSetupDialog.Execute Then ...
BUT when I try to do that, I get an error which indicates that
TPrinterSetupDialog.Execute isn't a function (method), but a procedure, and
thus the above mentioned example cannot be executed. Funny enough, the
quite similar TPrintDialog *has* got a method called execute, that works as
described (i.e. if the user presses the OK button, it returns true,
otherwise false)
HOW can I read out which of the buttons the user pressed in
TPrinterSetupDialog?? It has no modalresult property, and I would like to
avoid using TPrintDialog (because I need no copies-counter).
Is there a component or update for delphi that fixes this problem?
Bye
³ Emil Hansen - Vejle, Onsdag, 28 Maj 1997 at 2:57.
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ-- - -  -  -   -
E-Mail : emil_hansen@vip.cybercity.dk   Homepage : [Under construction]
.!. 90% of being smart is knowing what you're dumb at.
--- Terminate 4.00
---------------
* Origin: Input! BBS, home sweet home... (2:238/179.8)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.