Android Question I have a use "Dialogs libs" The problem msgbox

Discussion in 'Android Questions' started by 李春雄, Feb 24, 2015.

  1. 李春雄

    李春雄 Member Licensed User

    I want the user press the button, use the signature panel to him, but I could not produce the panel above the signature, how can I do?

    Sub Button1_Click
    Dim cd As CustomDialog
    Dim pnl As Panel   
        pnl.Color = 
        Dim Panel6 As Panel
        Panel6.Color = 
        SD.Canvas = Canvas1
        SD.Panel = Panel6
        SD.SignatureColor = 
        SD.SignatureWidth = 
    5dip 'Stroke width
        ret = cd.Show("B4A Custom Dialog""Yes""No""", Bmp)
    End Sub
    Sub Panel6_Touch (Action As Int, X As Float, Y As Float)
        SignatureCapture.Panel_Touch(SD, X, Y, Action)
    End Sub

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    It will not work with a modal dialog. Use a regular panel instead and bring it to front when needed.
  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