I am calling a sub called ShowDialog from multiple places in code. Message1 is string Variable.
My code should display Dialog and wait for either ok or cancel.
Dialog is shown but code moves on to Additional Code
Would be really nice if anyone can share or...
Small clarification needed regarding Resumable Sub/Wait for Event consumption
I have a sub called TTSCompleted which is called by a lib
in main code I use the following statement
Wait for TTSCompleted
When the event happens "Wait for" apparently resumes but the Sub TTSCompleted is not...
I have an app with resumablesubs that crash when I compile it in release mode, but work fine if I use it compiled in debug mode !
controllo_g$ResumableSub_Leggiscriviresume (java line: 145)
Well, I have (had) a simple sub that returns a value.
This sub will now use the shell, so it has become a resumablesub.
It so happens that I call these sub from various points in my project, and now each sub that calls this resumablesub will also become a resumablesub, forcing me to also...
last year I wrote a class (in B4A 9.80) that uses UDPSocket and resumable subs to learn B4X starting from my needs. I installed B4A 10.70 in a new VM and found that with the new version it doesn't work (with the old it still works).
Private Sub WaitForMessageHelper (Result() As Object) As...
I'm updating my app and replace all MsgBox that are depreciated to MsgBoxAsync.
I have a problem because MsgBoxAsync is not modal anymore
I have a code for example
Private Sub ApplyServerResponse as Boolean
Dim TransferResult as String
TransferResult=GetParsedResultFromJSON ' Sub that...
Is it possible to return moren than 1 value in resumable subs like
Dim SenderFilter As Object = sql.ExecQueryAsync("SQL", "SELECT * FROM table1", Null)
Wait For (SenderFilter) SQL_QueryComplete (Success As Boolean, rs As ResultSet) '<=== like
if yes, how can...
it was my mistake. the library Su was initialized under a conditional piece of code, so it was initialized only in some cases.
Moved Su.initialize in a different place and it works in starter service without problems...