Re: Maximize a form when this start

From: <dmoyer_at_gpu.com>
Date: 1996/03/11
Message-ID: <4i221e$t85_at_nn2.fast.net>#1/1


In <NEWTNews.826530792.20037.elric_dm_at_dialup.netvision.net.il>, elric_dm_at_netvision.net.il writes:
>
>In Article<313D917F.4C7E_at_iwfsg1.iwf.ing.tu-bs.de>, <gg_at_iwfsg1.iwf.ing.tu-bs.de> write:
>> Path: news.NetVision.net.il!psinntp!psinntp!psinntp!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!nntp.gmd.de!news.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!tubsibr!news
>> From: "G. Gersdorf" <gg_at_iwfsg1.iwf.ing.tu-bs.de>
>> Newsgroups: comp.databases.oracle
>> Subject: Re: Maximize a form when this start
>> Date: Wed, 06 Mar 1996 14:22:07 +0100
>> Organization: Inst. f. Werkzeugmaschinen, TU Braunschweig
>> Lines: 25
>> Distribution: world
>> Message-ID: <313D917F.4C7E_at_iwfsg1.iwf.ing.tu-bs.de>
>> References: <4gva4f$3af_at_chaiten.dcc.uchile.cl>
>> NNTP-Posting-Host: iwfpc1.iwf.ing.tu-bs.de
>> Mime-Version: 1.0
>> Content-Type: text/plain; charset=us-ascii
>> Content-Transfer-Encoding: 7bit
>> X-Mailer: Mozilla 2.0 (Win16; I)
>>
>> G. Cristian Palma A. wrote:
>> >
>> > Hi, dear friends :)
>> >
>> > I need some information about forms 4.5. I'd like when the form is first
>> > presented (start the form), it takes the maximun space possible (complete
>> > screen), like the action that occurs when the "maximize button" is pressed.
>> > Is there any function that perform this? I looked for something as a
>> > "maximize_window" function in a when_new_form_instance trigger, for example,
>> > but my try wasn't succesfull.
>> >
>> > Thanks in advance
>> >
>> > Cristian
>>
>> Use SET_WINDOW_PROPERTY(windowid, WINDOW_SIZE, MAXIMIZE).
>> (Under Windows, you can use the predefined constant FORMS_MDI_WINDOW
>> as the windowid).
>> Guenter
>>
>> --
>> Guenter Gersdorf Phone: +49/(0)531/391-7634
>> Inst. f. Werkzeugmaschinen Fax: -5842
>> und Fertigungstechnik, TU Braunschweig E-Mail: G.Gersdorf_at_tu-bs.de
>> Langer Kamp 19b, D-38106 Braunschweig http://www.iwf.ing.tu-bs.de/~gg
>p.s.
> If you want to maximize the main window use the MIDI_WINDOW as the
>windows ID (this is not the full name but look it up ...)
>

The parameter is FORMS_MDI_WINDOW and it is the WINDOW_STATE rather than the WINDOW_SIZE that you want to set.

D. Scott Moyer, Jr.                        dmoyer_at_gpu.com (work)
GPU Service Corporation                dsmoyer_at_enter.net (home)
Reading, PA Received on Mon Mar 11 1996 - 00:00:00 CET

Original text of this message