1 頁 (共 1 頁)

[轉貼]如何讓IE不出現網址列

發表於 : 2008年 11月 28日, 16:09
tim
原始文章,
http://delphi.ktop.com.tw/topic.asp?TOPIC_ID=78461

該文的解決方式是採用 com 起 ie 後, 將 AddressBar 設為 false 即可,

代碼: 選擇全部

    uses ComObj 
     
    procedure Tform1.Button2Click(Sender: TObject); 
    var 
      i:Variant; 
    begin 
      i:=CreateOleObject('InternetExplorer.Application.1'); 
      i.Visible:=True; 
      i.Navigate('http://tw.yahoo.com'); 
      i.Addressbar := False; 
    end; 
除了 AddressBar 外, 其他尚有

MenuBar
StatusBar
ToolBar

三種可供顯示或隱藏