Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

automatic setting size of the main window

MoazzamFeb 10 2011 — edited Mar 25 2012
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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2012
Added on Feb 10 2011
3 comments
1,859 views