Bug? MsgBox

Discussion in 'Bugs & wishlist' started by mlc, Feb 10, 2015.

  1. mlc

    mlc Active Member Licensed User

    MsgBox strange behavior, B4A 4.00.
    In the image, how msgbox is displayed and how shown B4A detail information, in debug mode.

    Code:
    Dim detalles As String
        detalles = Archivo & 
    CRLF & CRLF & traducir(75) _
        & 
    CRLF & dt.Format(d) & CRLF & CRLF & traducir(76) _
        & 
    CRLF & DSize(File.Size(Ruta, Archivo), 1) _
        & 
    " (" & File.Size(Ruta, Archivo) & " bytes)"
        
    Msgbox(detalles, traducir(74))
    It only shows the first line.

    upload_2015-2-10_18-41-7.png

    This same code worked fine before.

    Also does not work:
    Code:
    detalles = "hola" & CRLF & "adios"
    Any help is appreciated
     
    Last edited: Feb 10, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    Which device are you using? What did you set in android:targetSdkVersion?
     
  3. mlc

    mlc Active Member Licensed User

    Hello,

    Device : Samsung Galaxy Ace 2 (before worked fine)

    Samsung Galaxy Tab S: No problem

    Code:
    <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="14"/>
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    There was a change in Msgbox code however the change happens only if you add an icon. In your case the executed code with v4.30 is identical to previous versions.
     
  5. mlc

    mlc Active Member Licensed User

    I have installed the 4.30 version, but still the issue
     
  6. mlc

    mlc Active Member Licensed User

    I tried it on another Samsung Galaxy Ace 2 and the problem continues. B4A 4.30
    Sony Xperia M2: no problem
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    As I wrote, the msgbox implementation of dialogs without icons hasn't changed in v4.30.
     
Loading...
  1. 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.
    Dismiss Notice