B4J Question check is Maximized

alirezahassan

Active Member
Licensed User
hi all, i want to check is form Maximized or no.
B4X:
    Dim jmf As JavaObject = MainForm
    Dim stage As JavaObject = jmf.GetField("stage")
    If CHECK CODE then
        stage.RunMethod("setMaximized", Array As Object(False))
    Else
        stage.RunMethod("setMaximized", Array As Object(True))
    End If
also i didn't find anything about it in this link
what should i do?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…