B4A Library SD MeteoView

Star-Dust

Expert
Licensed User
SD_MeteoView

Author: Star-Dust
Version: 1.0
  • MeteoView
    • Functions:
      • Class_Globals As String
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
        Base type must be Object
      • Initialize (Callback As Object, EventName As String) As String
      • Invalidate As String
      • IsInitialized As Boolean
        Verifica se l'oggetto sia stato inizializzato.
    • Properties:
      • Temperature As Float
        Temperature in Grade
B4X:
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
    Private MeteoView1 As MeteoView
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")

    Sleep(2000)
    For i=25 To 50
        MeteoView1.Temperature=i
        Sleep(10)
    Next
End Sub
ezgif.com-crop.gif
 

Attachments

Top