Advertisement
Guest User

Untitled

a guest
May 20th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Region  Project Attributes
  2.     #ApplicationLabel: B4A Example
  3.     #VersionCode: 1
  4.     #VersionName:
  5.     'SupportedOrientations possible values: unspecified, landscape or portrait.
  6.     #SupportedOrientations: unspecified
  7.     #CanInstallToExternalStorage: False
  8. #End Region
  9.  
  10. #Region  Activity Attributes
  11.     #FullScreen: False
  12.     #IncludeTitle: True
  13. #End Region
  14.  
  15. Sub Process_Globals
  16.     'These global variables will be declared once when the application starts.
  17.     'These variables can be accessed from all modules.
  18.  
  19. End Sub
  20.  
  21. Sub Globals
  22.     'These global variables will be redeclared each time the activity is created.
  23.     'These variables can only be accessed from this module.
  24.  
  25. Private Button1 As Button
  26. End Sub
  27.  
  28. Sub Activity_Create(FirstTime As Boolean)
  29.     'Do not forget to load the layout file created with the visual designer. For example:
  30.     Activity.LoadLayout("Layout1")
  31. End Sub
  32.  
  33. Sub Activity_Resume
  34.  
  35. End Sub
  36.  
  37. Sub Activity_Pause (UserClosed As Boolean)
  38.  
  39. End Sub
  40.  
  41.  
  42. Sub Button1_Click
  43.     Msgbox("test","")
  44. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement