I had a similar problem and it turns out that fbl.FullScreen(False) does not work, once you've gone in fullscreen mode, there's no turning back, to that especific form that is....
The FullScreen syntax is:
FullScreen (RemoveTitle As Boolean)
If RemoveTitle is true then both the menu and the title will disappear.
If it is false then only the menu will disappear.
What are you trying to achieve?
I have seen different mobiles and they seem to have different screen sizes so I was thinking that using the FullScreen(False) function would adjust the app to the mobile size so as to have full size screen on the PDA for my apps??
The form's size is always the same size as the size of the device screen.
The FullScreen option should only be used if you want to remove the menu bar and the title bar.
You can use Form.Width / Form.Width to get the size of the form and adjust your controls to fit.
I am trying to full screen Form1 (main form) and Form2 (options form).
I can full screen Form1 using:
Sub App_Start
AddObject("flb","Formlib")
flb.New1("Form1",B4PObject(1))
flb.FullScreen(cPPC)
Form1.show
End Sub
but how do I get Form2 in full screen ?
When I click some button to go to Form2 it appears in normal mode (not full screen) on top of Form1. As Form2 is smaller I can see both forms.
I've tried and tested this and it worked for me...
B4X:
Sub App_Start
AddObject("flb","Formlib")
flb.New1("Form1",B4PObject(1))
flb.FullScreen(cPPC)
flb.New1("Form2",B4PObject(1))
flb.FullScreen(cPPC)
Form1.show
End Sub
Attached is a test file if you want to give it a go.