variable

  1. B

    Android Question Read text from customlistview

    Hi there, I am new to B4A so please bear with me. I have a customlistview which has items in it. I am trying to make it so that if a user clicks on an item, it will be able to retrieve all details about that item (The text and value). I have got the value, but I've got no idea about how to find...
  2. R

    iOS Question Dim Within A Loop - Why?

    I have noticed this happens occasionally and maybe I should have asked the question earlier. This example applies to B4i but I have also noticed it happening in B4A. Dim ThisPosition As LatLng 'Before the loop Do While Locations.NextRow...
  3. Chris160179

    B4R Question Use a type variable in another type variable

    Hello everybody, it seems it is not possible to use a type variable in another type variable. Like this: Type WLAN_Type (IP As String, SSID As String, Password As String, Chanel As Byte, BSSID As String) Type Settings(Resets As UInt, Summertime As Boolean, WLAN As WLAN_Type) Public...
  4. D

    Android Question Ideas storing an app's global variables

    Hi, Guys Scanning through the forum it appears that (using V4B 8.3+) it is OK to define global variables in the Starter Server (in the sub Process_Globals) as it will not be removed by the OS whilst the App is running, Question - is that correct? Also, would I be safe to store global variables...
  5. Ahmet KOÇ

    B4R Question How to combine variables and text ?

    I have tried many methods. "dddd" variable, "ddddd" + variable, "ddddd" .variable ... how do I combine a string variable with text in an application.
  6. Sandman

    Wish Add IDE support for variable documentation

    If we have a sub like this... ' This is a very important sub Public Sub showingOff Msgbox("Never use Msgbox", "Important message") End Sub ...we get very nice docs when hovering that sub name in other code: However, if we do the same with a variable: ' This timer is very important...
  7. R

    Android Question Undeclared variable 'RunLog' is used before it was assigned a value

    Have a simple B4A app with 2 modules, Main and Starter. Both need to do logging, but only in debugging mode. I have a Public variable for this bLog, which I have declared in the Starter module like this: Sub Process_Globals Public bLog As Boolean End Sub The Sub that does the logging is in...
Top