1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question AnotherDatePicker

Discussion in 'Android Questions' started by HAH, Jun 30, 2019.

  1. HAH

    HAH Active Member Licensed User

    i called AnotherDatePicker in (DetailsDialog.bal) but when datepicker is shown it appears behind the dialog form,
    i wrote (holder.BringToFront) in the show function in the Datetepicker module but it doesn't work
    as following:
    Code:
    Public Sub Show
        
    If waitForAddToActivity Then
            
    'not ready yey
            CallSubDelayed(Me, "show")
            
    Return
        
    End If
        holder.SetVisibleAnimated(
    500True)
        DrawDays
        holder.BringToFront
    End Sub
    are there any suggestions ??
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    1. Check B4XPreferencesDialog.
    2. Set the panel elevation: holder.Elevation = 6dip
     
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