#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.
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 scrollview1 As ScrollView
Dim fara As Farakhani
Dim ts As TextSetting
Dim SQL1 As SQL
Dim cursor1 As Cursor
Dim lbl As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer For example:
'Activity.LoadLayout("Layout1")
Activity.LoadLayout("chist")
lbl.Initialize("")
fara.FarakhaniMatn("database.db",SQL1,cursor1,"SELECT * FROM pre where id=","1",lbl,"text")
ts.Initialize
scrollview1.Panel.AddView(lbl,100,100,90%x,90%y)
ts.LongText(lbl,lbl.text,50,scrollview1,30)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub