0

您好,当我在调试模式下编译时,我在 B4A 中遇到了这个错误。我不太明白为什么会这样。我试图使我的单选按钮变暗,但错误仍然存​​在。

#Region  Activity Attributes 
#FullScreen: False
#IncludeTitle: True
#End Region

 Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim sql As SQL
Dim rs As ResultSet
End Sub

 Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.



Private TXTcode As EditText
Private TXTname As EditText
Private TXTcolor As EditText
Private TXTsize As EditText
Private TXTprice As EditText

End Sub

Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:

If FirstTime Then
    CopyDB("dbsample.db")
    sql.Initialize(File.DirInternal, "dbsample.db", False)
End If
Activity.LoadLayout("layadd2") //error is pointing to here

 End Sub

这是错误代码 Error Code Here

任何帮助都会谢谢你。

4

0 回答 0