1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

B4J Question Minimizing a window via code?

Discussion in 'B4J Questions' started by TnP, Aug 22, 2019.

  1. TnP

    TnP Member Licensed User

    Last edited: Aug 22, 2019
  2. Erel

    Erel Administrator Staff Member Licensed User

    Code:
    Dim jo As JavaObject = Form1
    jo.GetFieldJO(
    "stage").RunMethod("setIconified"Array(True))
     
    behnam_tr, BillMeyer and TnP like this.
  3. emexes

    emexes Well-Known Member Licensed User

    Backup plan:
    Code:
    MainForm.WindowLeft = -MainForm.WindowLeft
    not as nice as setIconified method, but for some use cases might be simpler
     
    Philip Chatzigeorgiadis and TnP like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice