回答編集履歴
1
宣言されていない変数の編集
answer
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
Dim setAddres As String = btn.Name.Substring(6)
|
18
18
|
Dim strValue As String = ""
|
19
19
|
|
20
|
-
For i = 1 To
|
20
|
+
For i = 1 To DMaxNum
|
21
21
|
If DLabel(i).Name = "lbl" & setAddres Then 'ここでSystem.NullReferenceException
|
22
22
|
idx = i
|
23
23
|
strValue = DText(idx).Text '値を入れる
|