Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
überprüf mal ob
Visual Basic:Form1.Controls.Item("S_25")
ein gültiges Objekt zurückliefert
Form1.Controls.Item("S_25")
Form1.S_25.Checked
Public Shared Function test(ByVal objekt As Object) As Boolean
If objekt Is Nothing Or Not TypeOf objekt is CheckBox Then
Return False
Else
Return True
End If
End Function
Hi
liegt die CheckBox in einem Container (GroupBox, ...)? Wenn ja musst du rekursiv suchen. Dazu kannst du die Find-Methode der ControlsCollection nutzen und für searchAllChildren true übergeben.
CType(Form1.Zustand.Controls.Item("S_" & CStr(i)), System.Windows.Forms.CheckBox).Checked