msgboxasync

  1. luthfiagata

    Android Question How do I display data from the database in a message box

    I want to display data in a text box by retrieving data from the database Private Sub boxmesage_Click mdlkoneksi.koneksi mdlkoneksi.rs = mdlkoneksi.mh.Query("SELECT * FROM jadwalkerja WHERE idkaryawan = '" & Main.idne & "' ") For i = 0 To mdlkoneksi.rs.RowCount - 1...
  2. red30

    B4J Question xui.MsgboxAsync is already open

    I'm using MsgboxAsync because I want the program to continue runing while still displaying a message. But at the same time, if the user did not close it and I use MsgboxAsync again, then I will have a second message on top of the first. Is it possible to somehow track that MsgboxAsync is not yet...
  3. C

    B4J Question Close xui.MsgboxAsync or xui.Msgbox2Async with code

    Based on @Erel's code here.... xui.MsgboxAsync & xui.Msgbox2Async don't have a "cancel" method, so trying to use it generates an error: java.lang.RuntimeException: Method: cancel not found in: javafx.scene.control.Alert Instead, the 'close' or 'hide' methods can be used: Sub Globals Dim...
  4. carlos7000

    Spanish Como esperar a que el usuario cierre el dialogo MsgboxAsync? SOLUCIONADO

    Hay alguna forma de pausar la ejecucion de un programa mientras el usuario no toque el boton 'Ok' de el dialogo MsgboxAsync? Antes empleaba Msgbox, pero el Id de B4a hace tiempo me recuerda que es mejor emplear MsgboxAsync Saludos.
  5. M

    iOS Question change default msgbox

    Can change default msgbox b4i like this picture??
  6. Lucas Siqueira

    iOS Question Error with xui.MsgboxAsync("text", "title") with B4XPages.ClosePage(Me), page does not close

    When I display a message with xui.MsgboxAsync("text", "title") and then immediately order to close the page with B4XPages.ClosePage(Me) , on Android it works correctly, but on IOS it does not close the page, and when I click a button that I created and has the command to close the page, nothing...
  7. A

    iOS Question Format text in MsgBox

    Hi all. I have a string that has to ne shown in XUI.MsgBoxAsync Here is a code Sub Button1_Click Dim str As String str=MyText Log(str) xui.MsgboxAsync(str, "B4X") End Sub Private Sub MyText As String Dim sb As StringBuilder sb.Initialize...
  8. A

    Android Question MsgboxAsync in Resumable Sub

    Hi all 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...
  9. D

    iOS Question How to clear a Msgbox2Async

    Hi Guys I have a problem with xui.Msgbox2Async() it remains on the page until you click on one of its options (i.e. positive, negative or cancel). I need to remove the message programmatically or certainly remove it when it moves on to the next page. Dim sf As Object =...
  10. D

    Android Question Custom Font on "OK" Button with MsgboxAsync

    With reference to this thread: https://www.b4x.com/android/forum/threads/custom-fonts-for-message-boxes.108014/ Which covers how to set a custom font for a Message Box. Is there a way to also set a custom font for the "OK" button?
Top