B4J Question B4xPages - get all pages in app

DarkoT

Active Member
Licensed User
Hi,
it' here way how to get all pages from App - when I'm using B4xpages template? Idea is that user can SAVE position and dimension for all pages to "local/temp" folder. I need to get the name, current position and resized dimension for all pages included in my app...

Thanks...
Br, DaT
 
Solution
B4X:
For Each id As String In B4XPages.GetManager.mStackOfPageIds.AsList
    Dim frm As Form = B4XPages.GetNativeParent(B4XPages.GetPage(id))
    Log(id & ": " & frm.Width)
Next

DarkoT

Active Member
Licensed User
B4X:
For Each id As String In B4XPages.GetManager.mStackOfPageIds.AsList
    Dim frm As Form = B4XPages.GetNativeParent(B4XPages.GetPage(id))
    Log(id & ": " & frm.Width)
Next
Thnx for help Erel...
 
Upvote 0
Top