Forum Stats

  • 3,780,464 Users
  • 2,254,398 Discussions
  • 7,879,338 Comments

Discussions

How to prevent parent window from resizing?

RHSABBIR
RHSABBIR Member Posts: 1
edited Oct 10, 2015 12:21AM in Forms

I have created a oracle forms application in forms 6i, in the application menu i can open multiple form using open_form function but the problem is the main page get resize every time when a new form opened from the menu....but i always want the main page maximized in background when forms are opened from menu.

i have used set_window_property to maximize the main page form in when_new_form_isntance trigger...please help

Tagged:

Answers

  • Andreas Weiden
    Andreas Weiden Member Posts: 10,870 Gold Crown
    edited Oct 8, 2015 3:14PM

    If i understand you correctly, you want to have one form maximized in the background, and another form not maximized in fornt of that? If so, i don't think that's possible.

  • Amatu Allah Neveen Ebrahim
    Amatu Allah Neveen Ebrahim Member Posts: 5,081 Gold Trophy
    edited Oct 9, 2015 1:47AM

    Hi

    Maximizing Oracle Client-Server Window forms;using the following code in WHEN-NEW-FORM-INSTANCE  Trigger for allllll your forms:


    SET_WINDOW_PROPERTY (FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE) ;

    SET_WINDOW_PROPERTY ( 'UR_WINDOW_NAME', WINDOW_STATE, MAXIMIZE) ;

    Amatu Allah.

  • Manu.
    Manu. Member Posts: 3,949 Bronze Crown
    edited Oct 10, 2015 12:21AM

    Dear,

    You cannot keep 1 window maximized while other window is in normal mode. Instead you can set the width and height of the main window in such a way that it is some what maximized.

    Manu.

This discussion has been closed.