Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another weird behaviour
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Another weird behaviour
Miscellaneous
Thread ID:
00207057
Message ID:
00207057
Views:
41
Hi,

When I have to check if a field was filled correctly or if a given number is ok, I put this code in the form Save() method :

LOCAL llHouveErro, lnRetVal

llHouveErro = .F.
lnRetVal = 9

IF (.NOT. llHouveErro) .AND. (Something to check)

llHouveErro = .T.

= MsgSvc("NumeroCPFInvalido")

ThisForm.pgfBizObj.Page2.txlCPF.TextBox.SetFocus()

ENDIF

IF .NOT. llHouveErro

lnRetVal = DODEFAULT()

ENDIF

RETURN (lnRetVal)

Everything works fine, unless in one form. In this form, if I make an input error, click on "Save", correct the error and click on "Save" again, when I enter in THIS.MustKeyEntered(This) my View is requeried because toContainer.&lcPage..UIEnabler1.lActivated is .T. and I don´t know why. To be honest I don´t know what toContainer.&lcPage..UIEnabler1.lActivated means...

Please help me !!!

Regards,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Reply
Map
View

Click here to load this message in the networking platform