How to avoid closing windows / dialogs

How to avoid closing windows / dialogs

Postby HunterEC » 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.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: How to avoid closing windows / dialogs

Postby Marcelo Via Giglio » 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
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: How to avoid closing windows / dialogs

Postby ukoenig » Sun Jan 01, 2012 11:25 pm

Please have a look at Post :

viewtopic.php?f=3&t=13596&p=70208&hilit=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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: How to avoid closing windows / dialogs

Postby HunterEC » 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
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 79 guests

cron