Add to B4XMainPage: Type PagePosition (Left As Int, Top As Int, Width As Int, Height As Int, IsIconified As Boolean) Private kvs As KeyValueStore And: Public Sub SavePagePosition (Page As Object) Dim f As Form = B4XPages.GetNativeParent(Page) If f = Null Or f.IsInitialized = False...
www.b4x.com
The sample code misses two lines of code:
In B4XPage_Created you need to add:
Adding the 2 lines above as shown in B4XPage_Created solved the problem - I just posted this for anyone who might experience the same problem - and in the hope that the sample code would be amended.
Adding the 2 lines above as shown in B4XPage_Created solved the problem - I just posted this for anyone who might experience the same attachedproblem - and in the hope that the sample code would be amended.
I guess that you copied the sample code to your project instead of the attached example . the sample codes are code snippets which not include B4XPage_Created. the 2 lines you mentioned have been contained in the project.zip