FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to avoid closing windows / dialogs
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
How to avoid closing windows / dialogs
Posted: Sun Jan 01, 2012 10:39 PM

Guys:

I want to prevent the end user on closing windows / dialogs when a critical process, like index maintenance, is taking place. I will like to disable the X on the top right corner of the control, and if possible, prevent closing it through Alt-F4. Thank you.

Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: How to avoid closing windows / dialogs
Posted: Sun Jan 01, 2012 10:54 PM

Hola,

did you try to use VALID option in the ACTIVATE section of Window or DIALOG ?

regards

Marcelo

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: How to avoid closing windows / dialogs
Posted: Sun Jan 01, 2012 11:25 PM

Please have a look at Post :

viewtopic.php?f=3t=13596p=70208hilit=disable+dialog+exit#p70208

Best Regards
Uwe :lol:

&&&

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: How to avoid closing windows / dialogs
Posted: Mon Jan 02, 2012 12:00 AM

Marcelo, Uwe:

Thank you both for your response. I tried Uwe's suggestion and it worked flawlessly. As always my friend, very helpful. Happy new year to both of you.

Gustavo

Continue the discussion