Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Form Lost Focus

$
0
0
Re: Form Lost Focus
FoxInCloud
Re: Form Lost Focus
Feb. 21, 2013
07:26 am
3PZ0FXNVJShow this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:Keith
FiC supports form.Activate() / form.deActivate()
We might execute form.gotFocus() / form.lostFocus() just before form.Activate() / form.deActivate().


Hi FIC Developers.

Would it be possible to support a forms LostFocus event?
I cannot find a mention of it in the FIC roadmap.

I use this event throughout my applications to detect whether
form data has changed and prevent users from moving to on
to another form without saving the changes first.

IF THISFORM.DataChangeCheck AND THISFORM.HasDataChanged(.T.)
THISFORM.WINDOWSTATE=0 && Maximise in case minimised.
ACTIVATE WINDOW (THIS.NAME)
THISFORM.AUTOCENTER=.T.
RETURN .F.
ENDIF

Stuffed without it. :(

Thanks.


Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)


Viewing all articles
Browse latest Browse all 10393

Trending Articles