delphi - iterate over IHTMLElementCollection -
is there way iterate on ihtmlelementcollection?
such
var e : ihtmllinkelement; elementcollection:ihtmlelementcollection; begin e in elementcollection showmessage(e.caption); end;
i know there property named _newenum, not supported in delphi as understand.
update: apperently links ihtmlelement , not ihtmllinkelement
for := 0 pred(elementcollection.length) begin e := elementcollection.item(i, emptyparam) ihtmlelement; //... end;
Comments
Post a Comment