I am using Oracle Forms 10g on Internet Explorer 6 with JInitialtor 1.3.1.22. I have set the separateFrame property true in formsweb.cfg. The problem is that when main_form opens then size of the window get's very larged and horizontal and vertical scroll bars appear.
I am using the following code in pre-form trigger of main form. This logic works fine on my Laptop but when i move my application to a Deskotp computer then size of the main form changes again and scroll bars appears.
Declare
v_width number;
v_height number;
Begin
set_window_property('WINDOW1', WINDOW_STATE, MAXIMIZE);
set_window_property(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE);
v_width := GET_APPLICATION_PROPERTY(DISPLAY_WIDTH);
v_height := GET_APPLICATION_PROPERTY(DISPLAY_HEIGHT);
set_window_property('WINDOW1',WIDTH,v_width-5);
set_window_property('WINDOW1',height,v_height-130);
set_canvas_property('CANVAS2',WIDTH,v_width-5);
set_canvas_property('CANVAS2',HEIGHT,v_height-130);
End;
Any suggestion?