events

  1. behnam_tr

    B4J Question How ? Events On classes

    hi i have a class module named > class1 then i creat 10 instance from class1 ( c1 as class1,c2 as class1 ,.......) Now I want call a sub in class1 and update data for all instance What can be the fastest and most optimal solution? The solution I am currently using is that I keep the list of...
  2. A

    Android Question Code in event doesn't seem to run when Wait For is used

    I have code like the following. The Wait For part works fine, and does indeed resume when the button is clicked. But the code in Button_Click never runs (ClickedButton, which a global variable, thus remains empty). Sub MainModule Do While True Wait For Button_Click...
  3. Alexander Stolte

    B4A Library [B4X] [XUI] AS Scheduler đź“… - MonthView, DayView (Week), AgendaView and CalendarView [Payware]

    The AS Scheduler is a B4X library for displaying and interacting with appointments. You want to try the views out? Then click here This library is not free, because, it cost a lot of time and gray hair to create such views. https://payhip.com/b/nrtw5 Thanks for your understanding. :) The...
  4. red30

    Android Question Separate user and program events

    For example, I have CheckBox1 and its CheckBox1_CheckedChange event. If I click on the CheckBox with my finger, I get into the CheckBox1_CheckedChange event. But if I want to set the CheckBox1.Checked = True state somewhere in the program text, then I will also get into the CheckedChange event...
  5. Marcos Alves

    Android Question Custom List View and Refresh

    Hello all, I noticed that when using Custom List View, when the start of a list is reached and a scroll try is made by user (like the gesture used to refresh a site in a browser), a shadow is showed by Android on the top of the CLV element indicating that there is no more items before the...
  6. DonManfred

    B4J Library GoogleCalendar - GCal4J

    GCal4J <link>...|https://www.b4x.com</link> Author: DonManfred Version: 0.26 Calendar Functions: IsInitialized As Boolean Properties: CalendarList As com.google.api.services.calendar.Calendar.CalendarList [read only] Calendars As com.google.api.services.calendar.Calendar.Calendars [read...
  7. C

    Android Question B4XComboBox events

    How can I capture these B4XComboBox events?: -query open state without affecting its state -when open, scroll to top of list without changing selected index Also, is there a link for a full list of events that can be captured? Any help greatly appreciated!
  8. ALBRECHT

    Android Question Different Sub : order inside activity

    Hello, For a newbi, where could i found an explaination of the order of the different events inside an activity ? - order of the different Sub - Events launch by any script that i input inside them for ex: what i put inside Activity_Resume() like a doc, a tuto or a post i dont find it Thanks
  9. Mashiane

    B4J Question [BANano] How to get all events linked to an element?

    Ola I'm trying to debug my app as its not firing any of the assigned events. How can I get a listing of all events linked to an element using BANano? I have found this on stack-overflow.. function getEvents(element) { var elemEvents = $._data(element, "events"); var allDocEvnts =...
  10. Mashiane

    B4J Tutorial [BANano] Exploring BANanoEvents

    Hi there This is just my method (without abstract designer views) of adding and binding events to elements. 1. Elements are added to the page 2. After the page content is updated, events are added to a map that keeps record of events, events can be click, change etc. 3. Events are bound to the...
  11. Mashiane

    B4J Question [BANano]: [SOLVED] how to maintain element events?

    Hi there I'm struggling with some element events, please if one can, can they explain the following for more clarity on my side? Thanks 1. I'd like to delete all existing events for an element and re-assign others, how can I do so? 2. The method below, does it replace the 'click' event for...
  12. peacemaker

    Android Code Snippet Sending SMS with _SmsSentStatus and _SmsDelivered events

    My final result for SMS sending under Android8. 'Manifest editor AddPermission(android.permission.SEND_SMS) AddPermission(android.permission.READ_PHONE_STATE) 'Starter service Sub Process_Globals Dim rp As RuntimePermissions End Sub 'Main Activity Sub Process_Globals Dim Permissions As...
  13. Mashiane

    B4J Question How to add events at runtime?

    Ola Perhaps this is way off course. Am thinking though. Is it ever possible to add events to a b4j at runtime and get these called via code?
  14. MarkusR

    Android Question [solved] touch events

    i realizing that at newer os the touch action event 2 (hold) is fire continuous and at older devices only at moving the finger. is there a way /trick that i can get continuous hold events always? inside this events i turn something. my workaround would be a timer event combination.
Top