Xojo WebAppTextFieldClass
で、「required as boolean」プロパティを使用して を作成しました。
Web ページには、いくつかのTextFieldClass
オブジェクトがあります。
私がやりたいことは簡単です... Webページで a を実行し、「true」値を持つ必要なプロパティを持つself.ControlCount
すべてのものが実際にコンテンツを持っているかどうかを確認したい.textFieldClass
簡単ですよね…</p>
Dim i as integer
Dim c As textFieldClass
For i=0 To self.ControlCount
if self.ControlAtIndex(i) isa textFieldClass then
**c=self.ControlAtIndex(i) // i got an error… expected class textFieldClass, but got class webObject…**
End If
Next
そして、私が試してみると:
Dim i as integer
Dim c As WebObject
For i=0 To self.ControlCount
if self.ControlAtIndex(i) isa textFieldClass then
c=self.ControlAtIndex(i)
**if c.required then // I got an error… Type "WebObject" has no member named "required"**
// do something here…
end if
End If
Next
ご協力いただきありがとうございます!