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.
 

Mark Read

Well-Known Member
Licensed User
Longtime User
Go into the designer and change the text on the Form Title property.

 
Upvote 0

Steve-h

Member
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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…