Android Question [SOLVED] [B4A] Pfdialog Scrollable at Android...

Magma

Expert
Licensed User
Longtime User
Hi there...

I am trying to have pfdialog scrollable in a panel... but can't...

B4X:
Sub Globals
   'These global variables will be redeclared each time the activity is created.
   'These variables can only be accessed from this module.
   Private mypanel As Panel
   Private newform As Panel 'newform is a panel that have parent the mypanel...!
End Sub

'...
'and somewhere in my code:
           mypanel.Visible=True
           Dim yheight As Int
           yheight=600
           Data.Initialize
           pfdialog.Initialize(newform, "blah blah...",  100%x, yheight)  'tried with dip the same, tried with 100%y the same.... what is the right value here ?
           pfdialog.LoadFromJson(File.ReadString(File.DirAssets, "signin.json"))
           pfdialog.SetEventsListener(Me, "pfdialog")
           Wait For (pfdialog.ShowDialog(Data, "Login", "CANCEL")) Complete (Result As Int)
           If Result = xui.DialogResponse_Positive Then

           End If
           mypanel.Visible=False
 

Magma

Expert
Licensed User
Longtime User
Upvote 0
Top