B4A Library SD MeteoView

Discussion in 'Additional libraries, classes and official updates' started by Star-Dust, Apr 18, 2019.

  1. Star-Dust

    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
    Code:
    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
     

    Attached Files:

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice