Hi Guys
How can I manage the top-right options? (Minimize, Maximize/Restore, Close)
I'm using the code snippet in B4J How-To's to make my app full screen, BUT it's not the same as setting it to Maximize. How can I manage those states?
I found how to Maximize a Form:
But how to catch those events to act upon? like screensize_changed kinda of event
How can I manage the top-right options? (Minimize, Maximize/Restore, Close)
I'm using the code snippet in B4J How-To's to make my app full screen, BUT it's not the same as setting it to Maximize. How can I manage those states?
I found how to Maximize a Form:
B4X:
Sub SetMaximized(frm As Form)
Dim joForm As JavaObject = frm
Dim joStage As JavaObject = joForm.GetField("stage")
joStage.RunMethod("setMaximized", Array(True))
End Sub
But how to catch those events to act upon? like screensize_changed kinda of event
Last edited: