如何读取TWebBrowser状态(Status Code)

ailibuli 2003-12-24 03:46:48
我想要TWebBrowser Status Code.(example: Status Code=200 or Status Code=401 ...)
...全文
184 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
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).

1,594

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 网络通信/分布式开发
社区管理员
  • 网络通信/分布式开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧