B4J Library [B4X] [XUI] SD AnimatedButton (b4xlib)

Discussion in 'B4J Libraries & Classes' started by Star-Dust, Apr 3, 2019.

  1. Star-Dust

    Star-Dust Expert Licensed User

    SD_AnimatedButton

    Author: Star-Dust
    Version: 0.01
    • AnimatedButton
      • Events:
        • Click
      • Fields:
        • Duration As Int
      • 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
        • IsInitialized As Boolean
          Verifica se l'oggetto sia stato inizializzato.
      • Properties:
        • AnimationFromTop As Boolean
        • BorderColor As Int
        • Visible As Boolean
    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 AnimatedButton1 As AnimatedButton
        
    Private AnimatedButton2 As AnimatedButton
        
    Private AnimatedButton3 As AnimatedButton
    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")

    End Sub

    Sub Button1_Click
        AnimatedButton1.Visible=
    True
        AnimatedButton2.Visible=
    True
        AnimatedButton3.Visible=
    True
    End Sub
    Video1.gif upload_2019-4-3_9-46-56.png
     

    Attached Files:

    Last edited: May 8, 2019
  2. Star-Dust

    Star-Dust Expert Licensed User

    Update rel. 0.02
     
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