maximize windows [message #633556] |
Sat, 21 February 2015 02:32 |
hisham99
Messages: 106 Registered: October 2008 Location: united arab emirates
|
Senior Member |
|
|
i have form with two block for example
1) block1 (query data from table in database)
2) block2 (nondatabase)
3) i have button (trigger when button press) to go_block('block2');
4) when_new_form instance trigger
set_window_property(forms_mdi_window,window_state,maximize);
set_window_property('window1',window_state,maximize);
5)my formsweb.cfg the width=1440 and height=900
my problem is
when i press (go_block) its not working but if i remove the trigger when_new_form instance its work fine (but the window is not maximize)
how can i keep maximize my windows and alse using go_block
|
|
|
|
|
Re: maximize windows [message #633570 is a reply to message #633569] |
Sat, 21 February 2015 23:52 |
hisham99
Messages: 106 Registered: October 2008 Location: united arab emirates
|
Senior Member |
|
|
still i didnt find the solution but i found that when i remove
set_window_property(forms_mdi_window,window_state,maximize);
the screen will be extended and the block will appear on the right side parallel to the main block
when it should be at the top of it
|
|
|
Re: maximize windows [message #633763 is a reply to message #633570] |
Tue, 24 February 2015 08:54 |
|
CraigB
Messages: 386 Registered: August 2014 Location: Utah, USA
|
Senior Member |
|
|
Hmm, when you run your form do you get any error messages? I ran your BLOCK.fmb (I had to change the blocks to control blocks) and it worked fine for me. I am using Forms 11g, however. I should also note, that I ran the form from inside the Browser instead of in a separate window.
Craig...
|
|
|