如何读取TWebBrowser状态(Status Code)

ailibuli 2003-12-24 03:46:48
我想要TWebBrowser Status Code.(example: Status Code=200 or Status Code=401 ...)
...全文
130 点赞 收藏 2
写回复
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
ailibuli 2004-01-13
谢谢Your answer > startjoy(星星雨),
but I want to do Log file.
需要获取web服务器运行状态.
如:HTTP/1.1 200 OK 等等...
Do you help me?
回复
startjoy 2004-01-13
可由下面的属性取得:
TWebBrowser.ReadyState

返回值:
Constant       Value    Meaning

READYSTATE_UNINITIALIZED 0 Default initialization state. The Control                   has not begun loading any properties.
READYSTATE_LOADING   1 The control is loading its properties.
READYSTATE_LOADED      2  The control has initialized its properties                   but is not yet interactive.
READYSTATE_INTERACTIVE 3 The control is interactive, but not all of                   its data is available. (It is downloading a                    document or frame).
READYSTATE_COMPLETE 4 The control is interactive and all of its                   data is available. (The current document is                    fully downloaded).
回复
发动态
发帖子
网络通信/分布式开发
创建于2007-08-02

1565

社区成员

Delphi 网络通信/分布式开发
申请成为版主
社区公告
暂无公告