Dim colParagraphs
Dim objSinglePara
Set colParagraphs = document.all.tags("P")
Set objSinglePara = colParagraphs(2)
objSinglePara.innerText = "This is brand new text!"
objSinglePara.style.textDecoration = "underline"
MSDN에서 예제로 나온 것인데 대충보면 P태그들을 컬렉션으로 가져와서
그 중 한부분을 수정하는 부분인데요
델파이에서 document.all.tags("P")의 리턴을 담을만한 저장공간을 어떤식으로 정의하는
건지 궁금합니다.
Variant로 해도 잘 안되던데
|