B4J Question b4j mainform controlbox

kalarius

Active Member
Licensed User
Longtime User
how can i hide the minimize, maximize , icon , and X from the mainform?

Kalarakis
Creta
Greece
 

walterf25

Expert
Licensed User
Longtime User
You can set the form style to UTILITY and it will only show the X button.

Set it to UNDECORATED to remove the top bar completely.
None of this work, I tried UTILITY and UNDECORATED and the maximize and minimize buttons still show up.

Walter
 
Upvote 0

walterf25

Expert
Licensed User
Longtime User
Can you post a screenshot of this form:
B4X:
Sub Process_Globals
   Private fx As JFX
   Private MainForm As Form
End Sub

Sub AppStart (Form1 As Form, Args() As String)
   MainForm = Form1
   MainForm.SetFormStyle("UNDECORATED")
   MainForm.Show
End Sub
Sorry Erel, i was using an older version, downloaded and installed latest version, it works fine now.

Thanks,
Walter
 
Upvote 0
Top