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

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

Attachments

Last edited:

Star-Dust

Expert
Licensed User
Update rel. 0.02
 
Top