現在、すべての写真をページに読み込むことができますが、すべての写真はアプリケーションの中心に重ねて表示されます。私はそれが属しているデータの前に画像を表示したい。テキストフィールドのデータ内の写真を整理するにはどうすればいいですか?
[フォト]
名:
性別:
年齢:
[フォト]
名:
例えばセックス:
年齢:
...
これは現在、私のコード(XMLのURLからロードされたデータ)であり、私はrect
およびその他のプロパティを確認しようとしましたが、私はできませんでした運がある。
repeat for each line tChild in tChildren
add 1 to x
put revXMLChildNames(tInfo, "ArrayOfXmlNode/"&tChild&backslash, return, "adoptableSearch", true) into tAdoptable
put revXMLNodeContents(tInfo, "ArrayOfXmlNode/"&tChild&"/"&tAdoptable&"/Photo") into tURL
put url tUrl into tPhoto
if the result is empty then
set the text of img x to tPhoto
else
beep
end if
put "Name: " & revXMLNodeContents(tInfo, "ArrayOfXmlNode/"&tChild&"/"&tAdoptable&"/Name") & return after tData
...
end repeat
ありがとうございました!