forms_mdi_window, disable Close button programatically
652211Aug 8 2010 — edited Aug 8 2010Hii..
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.