Each window have a property called WINDOW_STATE in forms, which can take the values NORMAL, MAXIMIZE or MINIMIZE.
You can set this property at run time by calling the SET_WINDOW_PROPERTY built in.
You will probably need to set this property for the mdi window also.
For example:
<pre>set_window_property(forms_mdi_window,window_state,maximize);
set_window_property('MY_MAIN_WINDOW',window_state,maximize);</pre>
Last Wiki Answer Submitted: November 17, 2008 2:47 pm by carlosdl63,535 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
“Usage Notes :
In normal operation (USESDI=YES parameter is not passed to the application), Forms run inside an MDI application window which may be represented by the Applet are in the HTML page or a separate window if the separateFrame applet parameter has ben set to True. You can use SET_WINDOW_PROPERTY to set the following properties of the MDI application window:
TITLE
POSITION
WIDTH, HEIGHT
WINDOW_SIZE
WINDOW_STATE
X_POS, Y_POS
To reference the MDI application window in a call to SET_WINDOW_PROPERTY, use the constant FORMS_MDI_WINDOW:
If you want to maximize the oracle 10g form, for that you should changes in the
“formsweb.cfg” plus set_window_property
If you have a problem then email me on system_eng2000@yahoo.com
Mr. Rasool Zaman (P.R.G)
MCSE, MCDBA, MCITP, RHCT, RHCE, RHCA, SUN SOLARIS, CCNA, CCNP, CCVP, CCIE, CCWA, CWNP, PHP, ORACLE DBA 8…11G, ORACLE DEVELOPER 6i…11G,
MS ACCESS+VBA, VB, WEB Developement/Designing, Fiber Optic, VSAT Satellite, Trix-Box, Cyberoam etc Exp: 11Years
Can you apply the same
Set_window_property in Oracle forms 9i/10g ?
Yes.
This is from the Forms 10g documentation:
“Usage Notes :
In normal operation (USESDI=YES parameter is not passed to the application), Forms run inside an MDI application window which may be represented by the Applet are in the HTML page or a separate window if the separateFrame applet parameter has ben set to True. You can use SET_WINDOW_PROPERTY to set the following properties of the MDI application window:
TITLE
POSITION
WIDTH, HEIGHT
WINDOW_SIZE
WINDOW_STATE
X_POS, Y_POS
To reference the MDI application window in a call to SET_WINDOW_PROPERTY, use the constant FORMS_MDI_WINDOW:
Set_Window_Property(FORMS_MDI_WINDOW, POSITION, 5,10) Set_Window_Property(FORMS_MDI_WINDOW, WINDOW_STATE, MINIMIZE)”
how to create mdi from in d2k ,
iam very new to d2k
can u pls suggest
If you want to maximize the oracle 10g form, for that you should changes in the
“formsweb.cfg” plus set_window_property
If you have a problem then email me on system_eng2000@yahoo.com
Mr. Rasool Zaman (P.R.G)
MCSE, MCDBA, MCITP, RHCT, RHCE, RHCA, SUN SOLARIS, CCNA, CCNP, CCVP, CCIE, CCWA, CWNP, PHP, ORACLE DBA 8…11G, ORACLE DEVELOPER 6i…11G,
MS ACCESS+VBA, VB, WEB Developement/Designing, Fiber Optic, VSAT Satellite, Trix-Box, Cyberoam etc Exp: 11Years