使用ICS做WEB服务器,能不能把数据通过POST的方式提交给服务器,服务器通过请求再分析出来 ( 积分: 200 )

  • 主题发起人 boy2002cn
  • 开始时间
B

boy2002cn

Unregistered / Unconfirmed
GUEST, unregistred user!
<form action=&quot;http://127.0.0.1/Index.html&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;>
<label>
<input name=&quot;textfield&quot; />
</label>
<input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;提交&quot; />
</form>
这样用一个网页把数据提交给一个表态页面,WEB服务器通过请求的URL分析出数据并保存到服务器上,实际上可能就是写一个简单的动态的服务器,像IIS,APACHE一样?
 
非模式窗体是Show后直接返回的,只要在窗体在OnClose事件中设置
action := caFree;
它关闭时就会自己释放了
 
楼上正解
 
procedure ShowOneOfMyForm(FormClassName: string);
begin
with TFormClass(FindClass(FormClassName)).Create(Application) do
begin
FormStyle := MDIChild;
Show;
end;
需要对每个MDI子窗体的OnClose事件中加入Action := caFree;
 
WITH TFormClass(FindClass(FormClassName)).Create(Application) DO
TRY
parent := application.MainForm;//这里错了
Show;
EXCEPT
//
END;
找到原因了,但还有一个问题就是
WITH TFormClass(FindClass(FormClassName)).Create(Application) DO
TRY
onclose:=myclose;
onactive:=myActivate;//无法调用这里的处理过程
Show;
EXCEPT
//
END;
怎么样才能执行我自己的myActivate过程
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
735
import
I
I
回复
0
查看
623
import
I
I
回复
0
查看
646
import
I
顶部