Problem_with_size_of_window_and_size_of_application

hi all,
i have two problems,
1. i can not set my application_size to maximum / maximize. In formsweb.cfg file, i have specified width = 1024, and height = 768, even now, unless i click maximize box on the title bar of the application_window my status_bar is not shown completely, only its first line is visible unless i click the maximize box to show both lines...
2. i can not set my window_size to maximize, in when-new-form-instance trigger i have wrote:
set_window_property(FORMS_MDI_WINDOW, WINDOW_STATE , MAXIMIZE);
yet i have to click the maximize box on the title bar of the window to get rid of the additional window's scrol bar
please help me to prevent these two problems...
regards...

u just said that i should adjust the size of my applet_window, to remind u sir, that was my actual question. how could i programmatically adjust it?To adjust the size of your applet you already mentioned that you are changing the width and height in config file. So, from there you can adjust you applet size to fit on your screen.
plus u didnt mentioned anything about the size of my forms_window, where i show my canvases... Forms_Window you can maximize by using the command...
SET_WINDOW_PROPERTY('WINDOW_NAME',WINDOW_STATE,MAXIMIZE);
and for the canvas i could not understand what do you mean where you want to show?
-Ammad

Similar Messages

Maybe you are looking for