N nicieri Active Member Licensed User Longtime User Aug 29, 2024 #1 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
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
Solution Alexander Stolte Aug 29, 2024 nicieri said: If I define the Private fp As AS_FloatingPanel in Globals Works. Click to expand... You have answered this question yourself. That's how B4I works, there's nothing I can do, you have to define it globally.
nicieri said: If I define the Private fp As AS_FloatingPanel in Globals Works. Click to expand... You have answered this question yourself. That's how B4I works, there's nothing I can do, you have to define it globally.
Alexander Stolte Expert Licensed User Longtime User Aug 29, 2024 #2 It works for me in B4I without any problems, in debug and also in release mode. Please create an example project that shows the error. Upvote 0
It works for me in B4I without any problems, in debug and also in release mode. Please create an example project that shows the error.
N nicieri Active Member Licensed User Longtime User Aug 29, 2024 #3 Is your example, in release don't close the panel on tap, is always visible Upvote 0
Alexander Stolte Expert Licensed User Longtime User Aug 29, 2024 #4 Be sure that the "CloseOnTap" property is set to "True" Upvote 0
N nicieri Active Member Licensed User Longtime User Aug 29, 2024 #5 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
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
Alexander Stolte Expert Licensed User Longtime User Aug 29, 2024 #6 nicieri said: If I define the Private fp As AS_FloatingPanel in Globals Works. Click to expand... You have answered this question yourself. That's how B4I works, there's nothing I can do, you have to define it globally. Upvote 0 Solution
nicieri said: If I define the Private fp As AS_FloatingPanel in Globals Works. Click to expand... You have answered this question yourself. That's how B4I works, there's nothing I can do, you have to define it globally.