maximize window [message #393361] |
Sun, 22 March 2009 02:29 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
imuharram
Messages: 48 Registered: January 2009
|
Member |
|
|
my window doesn't maximize even when i use the below code in When new form instance
set_window_property(forms_mdi_window,window_state,maximize);
set_window_property('MY_MAIN_WINDOW',window_state,maximize);
|
|
|
Re: maximize window [message #393394 is a reply to message #393361] |
Sun, 22 March 2009 09:28 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
|
try this
create a program unit
PROCEDURE I_WIN_STATE(WSTATE IN VARCHAR2 := 'MAX',WNAME IN VARCHAR2 := '') IS
BEGIN
if wname is not null then
IF UPPER(WSTATE) LIKE 'MAX' THEN
set_window_property(UPPER(wname),WINDOW_STATE,MAXIMIZE);
ELSIF UPPER(WSTATE) LIKE 'MIN' THEN
set_window_property(UPPER(wname),WINDOW_STATE,MINIMIZE);
ELSE
set_window_property(UPPER(wname),WINDOW_STATE,NORMAL);
END IF;
else
message('Window name can not be null');
raise form_trigger_failure;
end if;
END;
then call i_win_state('max',:system.event_window);
|
|
|
Re: maximize window [message #394468 is a reply to message #393394] |
Fri, 27 March 2009 05:09 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
imuharram
Messages: 48 Registered: January 2009
|
Member |
|
|
It didn't work
The only thing that worked is to set SeparateFrame=True, although I don't want to have two different windows but it's the only thing that worked to enable maximize window after I click on the maximize button.
The prolblem is I changed other parameters
width=1000
height=1000
colorScheme=white
so I won't have to click on the maximize button and to have the size fixed
and now I can't run my forms
In the OC4J Instance window, it's written at the end
configFileName: c:\oracle\product\10.2.0\db_2/forms90/server/formsweb.cfg
testMode: false
why did this happen? and what should I do?
|
|
|
|
Re: maximize window [message #394502 is a reply to message #394478] |
Fri, 27 March 2009 08:24 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
imuharram
Messages: 48 Registered: January 2009
|
Member |
|
|
ok I'm sorry for any confusion
I figured out what's wrong
I couldn't run my forms because in the formsweb.cfg file I tried to change the colorScheme=White and when I set it back to teal it worked again.
I maximized my window size by changing the parameters in Height and Width, and set SeparateFrame=False
|
|
|
|
|