Can anybody help me? I've created a form with one window. It's called
"IngaveWindow". I've created the following procedure :
PROCEDURE ResizeWindow(Ingavewindow varchar2) IS
wn_id2 Window;
BEGIN
wn_id2 := Find_Window(Ingavewindow);
set_Window_property(wn_id2,window_state,maximize);
END;
Is this correct? I just can't seem to call it...I tried to call the procedure in
the when_new_form_instance trigger on form level...But I don't know exactly how
to do it. Can somebody give me an example? I already maximized the runtime
window by using the "Set_Window_Property(FORMS_MDI_WINDOW, WINDOW_STATE,
MAXIMIZE);" command...Now I would also like to maximize the Canvaswindow
itself...
Thanx in advance
Sincerely,
Maarten
First af all you have not write any additional procedure. Forms has
WHEN-WINDOW-RESIZED trigger on a form level.
This trigger fires every time you resize your window.
If you want to reisize canvas (or view) you have to call Set_Canves_Property
(or Set_View_Property).
Hope this'll help you to live happy.
I just can't seem to call it...I tried to call the procedure in
> the when_new_form_instance trigger on form level...But I don't know
exactly how
> to do it. Can somebody give me an example?
You could write 'ResizeWindow('IngaveWindow');
I already maximized the runtime
> window by using the "Set_Window_Property(FORMS_MDI_WINDOW, WINDOW_STATE,
> MAXIMIZE);" command...Now I would also like to maximize the Canvaswindow
> itself...
Why don't you add "Set_Window_Property('IngaveWindow', WINDOW_STATE,
> MAXIMIZE);"
Good luck, Joost