How to call the OnChange event of “Select” ? (Delphi - WebBrowser)

后端 未结 2 503
盖世英雄少女心
盖世英雄少女心 2021-01-24 09:24

I\'m using Delphi and WebBrowser componenet to navigate a html page . the page have a Combobox . is there any way to call the OnChange event ?

The ComboBox is like this

2条回答
  •  灰色年华
    2021-01-24 10:21

    Inspired by the response. NET have been using the structures below:

    FrameSet Document Elements Item Name Value Change ;
    EWB.OleObject.Document.Frames.Item('mainFrame').Document.Forms.Item('invoiceForm').Elements.Item('inputname').Value:= '123456';
    

    or

    FrameSet Document Elements Items Lenth;
    
    EWB.OleObject.Document.Forms.Item('invoiceForm').Elements.Length;
    

提交回复
热议问题