
Postado originalmente por
hacker_wap
Só vou lhe dizer como navegar pelas tags.
adicione a unit
Depois você deve usar as interfaces IHTML para navegar entre as diferentes tags.
Exemplo
Código PHP:
var
IHTML: IHTMLDocument2;
ICollection: IHTMLElementCollection;
Código PHP:
WB.Document.QueryInterface(IID_IHTMLDocument2, IHTML);
if(Assigned(IHTML))then
begin
ICollection:= IHTML.all;
ICollection.item('nome da tag', 0).
QueryInterface(IID_IHTMLInputElement, IInput);
if(Assigned(IInput))then
begin
//faça alguma coisa
end;
end;
Isto já deve lhe dar uma boa ideia de como prosseguir.