From daemon Fri Jan 26 16:15:36 1996
Received: from ccvm.sunysb.edu by alice.jcc.com; (5.65v3.0/1.1.8.2/01Aug94-0142PM)
 id AA13092; Fri, 26 Jan 1996 16:15:29 -0500
Message-Id: <9601262115.AA13092@alice.jcc.com>
Received: from CCVM.SUNYSB.EDU by ccvm.sunysb.edu (IBM VM SMTP V2R3)
   with BSMTP id 6142; Fri, 26 Jan 96 16:02:08 EST
Received: from CCVM.SUNYSB.EDU (NJE origin LISTSERV@SBCCVM) by CCVM.SUNYSB.EDU (LMail V1.2a/1.8a) with BSMTP id 6064; Fri, 26 Jan 1996 13:27:35 -0500
Date:         Fri, 26 Jan 1996 12:35:16 EST
Reply-To: "ORACLE database mailing list." <ORACLE-L@ccvm.sunysb.edu>
Sender: "ORACLE database mailing list." <ORACLE-L@ccvm.sunysb.edu>
From: "Michael T. Butler" <Michael_Butler@WMG.COM>
Subject:      Re: Forms4.5 MDI window control ???
X-To:         ORACLE-L@ccvm.sunysb.edu
To: Multiple recipients of list ORACLE-L <ORACLE-L@ccvm.sunysb.edu>

Ishaq,
In your On-New-Form trigger try this code:

SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'New Release Management');
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_SIZE, 700, 600);
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, POSITION, 0,0);
or
 SET_WINDOW_PROPERTY('WINDOW0', WINDOW_STATE, MAXIMIZE);

good luck,
Michael_Butler@wmg.com
-------------
Original Text
>From "Bangash, Ishaq" <Bangash@EXECUTONE.COM>, on 1/26/96 11:58 AM:
Hello Friends,
  I am trying to program the close selection in the control box (upper left
hand side) of the MDI window in Forms4.5.6.5.5. Looks like I can not
reprogram it. Although I could do it for other document windows inside it
 by using when_window_closed  trigger at form level. I want to this
particular close to act differently as appose to other window, so I use
following in my when_window_closed trigger:

  IF :system.event_window = 'WINDOW1'
 THEN
         ....
  ELSIF  :system.event_window = 'WINDOW2'
  THEN
          .....
  END IF;

How can I reference the MDI window here?.

My second question is that how I can fix the size of the MDI  window?.


I appreciate any help or suggestions,

TIA

Ishaq Bangash
bangash@executone.com

