Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to setfocus to control with BrokenRule
Message
From
28/11/2002 22:32:48
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00728050
Message ID:
00728082
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform