Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Onde estava o FOCO ?
Message
From
27/08/2002 14:17:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00693881
Message ID:
00694159
Views:
19
Rodolfo,

Se o controle focado esta dentro da PAGEFRAME ao me referenciar ao controle ele apresenta o ERRO: 1925 (Unknown member "name")
Com os controles que estão na FORM isto não ocorre.

Tentei colocar em variavel, como vc me passou, mas o erro persiste.

Atualmente o meu codigo esta assim:


cOndeEstaFocado= ''
IF TYPE( 'THISFORM.ACTIVECONTROL' ) = 'O'
cOndeEstaFocado= "ThisForm."+ THISFORM.ACTIVECONTROL.Name +".SetFocus"
ENDIF

....

IF !EMPTY(cOndeEstaFocado)
&cOndeEstaFocado
ENDIF



[]s
Sergio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform