event

  1. Star-Dust

    B4J Library [B4X] [XUI] SD: B4XViewEvent

    Using the XUI views I realized the need to follow the events of Touch, Drag, Click and Release in a unique way. Required XUI 1.72+ In Android I would use this command: Sub EventName_Touch (Action As Int, X As Float, Y As Float) In B4J I would use this: Sub EventName_MouseDragged (EventData As...
  2. Star-Dust

    B4J Question [SOLVED] OnTouchListener event

    I created a class that changes the event View as a parameter by changing the view. This works well in B4A but does not work in B4J. This is the code: Sub Class_Globals Private CallBack As Object 'ignore Private EventName As String 'ignore End Sub 'Initializes the object. You can add...
  3. MarkusR

    Android Question Event from CustomView Class to Activity Modul?

    is there a Simple way to create a event in a Customview to catch this Event in the Activity Modul? something like CustomView: Sub ButtonFinish_Click RaiseEvent Ready(1) End Sub --- Activity: Sub Ready(a as int) End Sub
Top