我想编写网络浏览器,但不知道用什么控件。请帮帮忙。
解决方案 »
- 刚接触delphi,一问题求助delphi高手
- 如何得到dxDBGrid中鼠标点击的单元格的值 ,在线等待,急!~~!~~!
- 新手问什么是OLE
- 如何设置IDHTTP的连接超时???????????????
- 第44题):MWEdit0.9 ???
- 无法找到对象???很奇怪o,请高人指点!!!
- 陈拓朋友,你上次发了一个学籍管理的程序给我,我还没给你分呢,留个邮箱地址吧!
- 谁有bitbtn里面的好看一点的bmp,发到我邮箱里,一定加分?先发先加
- 关于Form和pas的关系
- 非要程序退出后才查的到新增记录?
- 现在的it业动荡不安,初学都问一个非技术问题,请各位大哥指路!!!!
- 求用DELPHI调用网页例子。二点结分。
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, IdEMailAddress, Buttons, ComCtrls,MAPI;type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
txtTo: TEdit;
txtCC: TEdit;
txtBCC: TEdit;
txtAttachment: TEdit;
txtSubject: TEdit;
Button1: TButton;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
StatusBar1: TStatusBar;
OpenDialog1: TOpenDialog;
Memo1: TMemo;
procedure BitBtn1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;const
RECIP_MAX = MaxInt div Sizeof(TMapiRecipDesc);
ATTACH_MAX = MaxInt div Sizeof(TMapiFileDesc);type
TRecipAccessArray = array[0..(RECIP_MAX - 1)] of TMapiRecipDesc;
TlpRecipArray=^TRecipAccessArray;
TattachAccessArray = array[0..(ATTACH_MAX - 1)] of TMapiFileDesc;
TlpAttachArray = ^TAttachAccessArray;
var
Form1: TForm1;implementation{$R *.dfm}procedure TForm1.BitBtn1Click(Sender: TObject);
var
err:ULONG;
AnyStr:PChar;
nAttachments,
nRecipients:Cardinal;
begin
if(txtTo.Text <> '') and (txtSubject.Text <> '')and
(Memo1.Lines.Count > 0) then
begin
nAttachments := 1;
nRecipients := 0;
if txtTo.Text <> '' then
Inc(nRecipients);
if txtCC.Text <> '' then
Inc(nRecipients);
if txtBCC.Text <> '' then
Inc(nRecipients);
FillChar(lppMapiRecipDesc,SizeOf(TMapiRecipDesc),0);
lparrayRecips
end;end.
Internet页下的webbrowser控件使用
procedure TForm1.Button1Click(Sender: TObject);
begin
WebBrowser1.Navigate('www.eyou.com');
end;