B4J Question Main Page Title

Steve-h

Member
Can I change the title at the top of MainPage ? I can call additional pages whatever I like but can't see how to change the MainPage text that appears in the title bar.
 
Go into the designer and change the text on the Form Title property.

1638535040346.png
 
Upvote 0
Thank you.

Setting the form title in the designer seems to have no effect, perhaps whatever is set here is overwritten by something else I don't understand yet. It does in the WYSIWYG emulator but not in the compiled code.

MainForm.Title doesn't work for me either.

However

B4XPages.SetTitle(Me, "Main Page") does the trick.
 
Upvote 1
Back
Top