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!

forms_mdi_window, disable Close button programatically

652211Aug 8 2010 — edited Aug 8 2010
Hii..

what i am looking for is, first-of-all i am opening a Window (Win2) on press of a button,
with its Modal setting, to Yes.

Now i want, is to suppress the Close button of Form_MDI_Window (main window 'Win1') behind.

i tried to gve code in When-Button_presses trigger;

SHOW_WINDOW('WIN2');

GO_BLOCK('blk2');
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,CLOSE_ALLOWED,PROPERTY_FALSE);
and also tried,
SET_WINDOW_PROPERTY('WIN1',CLOSE_ALLOWED,PROPERTY_FALSE);

I am getting a compilation error for both options...'Close_Allowed must be declared...

Kindly suggest..TYVM.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2010
Added on Aug 8 2010
5 comments
2,765 views