iOS Question [B4X] AS FloatingPanel

nicieri

Active Member
Licensed User
Longtime User
Hello,

I'm testing it on iOS, and in debug it works fine, it closes when you tap on another part of the panel, but when it's in release it doesn't work.

It does not close on Release.

@Alexander Stolte
 

nicieri

Active Member
Licensed User
Longtime User
Ok if i put locally the definition like..


B4X:
Private Sub collLocation_Click
    
    Private fp As AS_FloatingPanel
    fp.Initialize(Me,"fp",Root)
    fp.PreSize(Root.Width,Root.Height)
    fp.Panel.LoadLayout("map")
    fp.OpenOrientation = fp.OpenOrientation_BottomTop
    fp.Panel.Color = Colors.Transparent
    fp.CornerRadius=20
        
'    fp.ArrowVisible = True
'    fp.ArrowProperties.Left = 0
'    fp.ArrowProperties.ArrowOrientation = fp.ArrowOrientation_Top
    
    
    fp.Show(0,200dip,Root.Width,Root.Height-200dip)
    
End Sub

don't work ok reléase the close evento.

If I define the Private fp As AS_FloatingPanel in Globals Works. Thanks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…