Q
q2
Unregistered / Unconfirmed
GUEST, unregistred user!
HTML中的参数传入ActiveXForm的奇怪问题,代码如下
<HTML>
<OBJECT classid="clsid:024032C6-E5FC-11D7-88D3-0050BA40F862"
codebase="FlashPlayerProj.ocx#version=1,0,4,0"
width=552
height=435
align=center
hspace=0
vspace=0>
<param name=file1 value="test.exe">
</OBJECT>
</HTML>
ActiveXForm中的代码
.......
private
file1:string;
......
procedure TFlashPlayer.Timer1Timer(Sender: TObject);
begin
if file1<>'' then begin
CmbBox_File.Items.Append(file1);
Timer1.Enabled:=false;
end;
end;
一直就是读不出file1的值,请教了。
<HTML>
<OBJECT classid="clsid:024032C6-E5FC-11D7-88D3-0050BA40F862"
codebase="FlashPlayerProj.ocx#version=1,0,4,0"
width=552
height=435
align=center
hspace=0
vspace=0>
<param name=file1 value="test.exe">
</OBJECT>
</HTML>
ActiveXForm中的代码
.......
private
file1:string;
......
procedure TFlashPlayer.Timer1Timer(Sender: TObject);
begin
if file1<>'' then begin
CmbBox_File.Items.Append(file1);
Timer1.Enabled:=false;
end;
end;
一直就是读不出file1的值,请教了。