• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Window Buttons

AS400Guru

Well Known Member
Hello List,

Is there a way to disable the Window button for close(X).
I did try to uncheck the System menu checkox,but that just disables (X)for
the application window that is currently running.

Any help is greatly appreciated.

Thanks so much.

AS400 V4R5 XE SP13(Co-Exist)
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
 

Zoltan_Gyimesi

Legendary Poster
Hi AS400Guru,

This issue already has been discussed a bit on the "One World / XE Developers" Forum/List. Here are the main identification datas of the initial post of this thread:

Subject: Handling closing of windows
Posted by: euroboy
Posted on: 2/12/01 02:47 AM

You can find this thread easy using this datas with the Search functionality of the Forum.
Let me copy my answer to that thread for you.
Zoltán
============== Zoltan_Gyimesi Replied ================================
Hi Euroboy,
You can capture one of the mentioned three standard Windows button, namely the CloseWindow (CloseDown) button.
Pressing the CloseDown will trigger the Close/Cancel (depends on the type of Form) OneWorld Form exit, so all Event Rule logic attached to the events of Close/Cancel will be executed.
I have noticed a strange thing:
I can Disable Close/Cancel form exit using system function in ER logic or changing its attribute on the Exit Properties sheet.
That is right and works: the Close/Cancel will grayed-out on the toolbar and in the File menu of the OneWorld Form but I still we able to press and execute the CloseDown standard Windows button.
Keep in mind this strange behavior when you will attach logic to Close/Cancel.
Hope, could help a bit.
Zoltán
======================================================================

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 
Top