Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to setfocus to control with BrokenRule
Message
De
28/11/2002 22:32:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00728050
Message ID:
00728082
Vues:
20
Hi Nadya,

Long time, without talking...:)

I try your code but something is mess me,

my SAVE Method
WITH THISFORM
	llOK=.oCliente.SAVE(.ORS0)
	IF not llOK
		.ADO_FINDFIELDERROR(.oCliente.lcFieldError)
	ENDIF

	.InitVars()
ENDWITH
my ADO_FINDFIELDERROR with your example,
LPARAMETERS cFieldError
if type('thisform.txt'+cFieldError)="O" && Object exists
    loObject = evaluate('thisform.txt'+cFieldError)
    loObject.SetFocus()
endif 
The Form clears and not set the focus...Any ideia....


Thank's for your time,

João Batista
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform