Hi All,
I am trying to set the text for B4XFloatTextField in B4XPage_Appear but it crashes with the stack in the code block below.
I understand that when a page appear the events that will raise is B4XPage_Created then B4XPage_Appear, so I am tryin to use B4XPage_Appear since my data is coming...
I found it more convenient to switch layouts by hiding and showing panels, which support all the views. That way, display is instant between layouts.
Before displaying a layout, I test if the panel has been intialized, and if not, then I add the layout to activity.
That worked just fine, until...
hi everyone, today i was coding an app and when a tried to use an B4Xview the app crashed because it was not initliazed, so i tried to do
view.Initialize
but the ide says that the method does not exist D:
Thanks
I have this wee bit of code:
Dim f As String = "City,FirstName,LastName" ' field list
Dim v As List ' field values
v.Initialize2(Array As Object("Jasper","Albert","Kallal"))...
I'm not clear on the difference between testing an object for NULL vs. using isInitialized.
I ran into this because I passed a Null value into a sub, but it crashed on an "object not initialized" error. Here's the code:
tip1.addTipForArea(tempRect, Null, "foobar", "barfoo")
Public Sub...
Hello
This code I creating item programmatically:
prefdialog.AddTextItem("key","title")
How to programmatically initialize a default value?
How to programmatically set it as mandatory or optional field?
Thank you
Ola
Update: I have declared the BANanoObject in Main using '$$' and everything works well, when defined in a class, dololo. The resulting outcome is explained here BANanoWebix
I need to initialize an object just like jquery but this one is '$$'.
'clear the form
Sub Clear
'Dim d As String...
Hello,
How can I verify that the initialization of a randomaccessfile went OK ?
Dim OutFile As RandomAccessFile
If File.Exists(File.DirDefaultExternal,"test.wav") Then
File.Delete(File.DirDefaultExternal,"test.wav")
End If
'Initialize the output file...
the normal syntax is
Dim Obj As MyClass
Obj.Initialize()
but i think this part can be optional if the developer will reset/create a new object
Obj.Initialize()
so the default code would be
Dim Obj As MyClass
and i saw that if me using a library .Initialize() it not necessary
how about a...
I have this code, which I believe is correct, even though the variable isn't initialized:
' Check if we have access to the camera
Dim llc As LLCamera
If llc.AuthorizationDenied Then
Log("Fail")
End If
The linter in the IDE gives me the error "Variable 'llc' was...
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.