Menu disappears in FormLib

BPak

Active Member
Licensed User
Longtime User
B4X:
Sub App_Start
   Form1.Show
   fbl.New1("Form1",B4PObject(1))
'   fbl.FullScreen(False)   
End Sub
When I use the fbl.FullScreen(False) the Menu that was with Form1 (created in the Designer) disappears from the screen.

Is this intended? Is there a work-around?
 

Attachments

  • test1.sbp
    744 bytes · Views: 219

Cableguy

Expert
Licensed User
Longtime User
Hi,

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....
 

BPak

Active Member
Licensed User
Longtime User
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??
 

lost2

Member
Hi all,

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.

Any help ?

Thank you.
MC
 

RandomCoder

Well-Known Member
Licensed User
Longtime User
Lost2,
but how do I get Form2 in full screen ?

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.

Regards,
RandomCoder
 

Attachments

  • Full Screen Forms.zip
    4 KB · Views: 232

lost2

Member
hey ... tanks a lot. It's working now!
It's a simple digital clock with big digits and big buttons where we can use our fingers ;-)
MC
 
Top