FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to avoid closing a window ?
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
How to avoid closing a window ?
Posted: Sun Apr 10, 2011 09: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.

Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: How to avoid closing a window ?
Posted: 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

Continue the discussion