How to avoid closing a window ?

How to avoid closing a window ?

Postby HunterEC » Sun Apr 10, 2011 9:19 pm

Guys:

How can I disable closing a window when clicking the X at the top right of it ? If the user is reindexing the databases I want to disable closing the window in the middle of the process. Thank you.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: How to avoid closing a window ?

Postby fraxzi » Sun Apr 10, 2011 11:39 pm

Hi,

oWnd:bValid := {|| .F. } while your process taking place... then oWnd:bValid := {|| .T. } to allow closing.


Kind regards,
Frances
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 93 guests