home *** CD-ROM | disk | FTP | other *** search
/ Prima Shareware 3 / DuCom_Prima-Shareware-3_cd1.bin / PROGRAMO / delphi / DIALER / README.TXT < prev   
Encoding:
Text File  |  1996-04-27  |  2.0 KB  |  71 lines

  1.  
  2.  
  3. Dialer is a small non visual component which allows you to dial phone
  4. numbers from your Delphi applications. I am not a great expert in 
  5. communications but it works fine for my modem. You can modify it as much
  6. as you wish.
  7.  
  8. Dialer has four published properties, which will appear in you Object
  9. Inspector.
  10.  
  11. ComPort      - communication port of your modem (dpCom1..dpCom4);
  12. Confirm      - true if you wish dialer to ask you if you are sure to dial 
  13.                the number;
  14. Method       - Dialing method - Pulse or Tone
  15. NumberToDial - string, which contains Phone Number you wish to dial e.g. 
  16.                '911' :)
  17.  
  18. You can set these properties from Object Inspector or during the run-time.
  19.  
  20. There is one public procedure: Execute
  21.  
  22. After you add an icon representing dialer (BTW it looks a bit ugly, but I am
  23. a poor designer) you can use TButton component to run it. e.g.
  24.  
  25. procedure TForm1.Button1Click(Sender: TObject);
  26. begin
  27.   Dialer1.Execute;
  28. end;
  29.  
  30. You can create the Dialer component "On Fly", without adding its icon to
  31. your form:
  32.  
  33. procedure TForm1.Button1Click(Sender: TObject);
  34. var
  35.   TempDialer : TDialer;
  36. begin
  37.   TempDialer:=TDialer.Create(Self);
  38.   with TempDialer do
  39.   begin
  40.     ComPort:=dpCom4;
  41.     Confirm:=true;
  42.     Method:=dmTone;
  43.     NumberToDial:='1(222)333-4444';
  44.     Execute;
  45.     Free;
  46.   end;
  47. end;
  48.  
  49. in this case don't forget to add to your uses statement Dialer unit.
  50.  
  51. That's it. Have fun. Any comments and improvements (including ugly icon) are
  52. welcome.
  53.  
  54. This component was originally written by Artchil Gogava, ArGo Software Design,
  55. Toronto, Ontario, Canada, April 1995.
  56.  
  57. The 32 bit version was developed by Ruud Overdijk, Kwarts produkties,
  58. Hilversum, The Netherlands, April 1996.
  59.  
  60. Regards
  61.  
  62. Original version - for Windows 3.x
  63. Artchil Gogava
  64. CompuServe:   75231,330
  65. Internet:     75231.330@compuserve.com 
  66.  
  67. Updated version - for Win32
  68. Ruud Ovendrijk
  69. CompuServe:   71613,1733
  70. Internet:     roverdyk@worldaccess.nl
  71.