Hi Douglas!
It's nice to see you around here too!
I think you can keep trying something using this code I send to you at the foxbrasil forum...
For i = 1 to _Screen.FormCount()
If _Screen.Forms(i).Name = "frmPrincipal"
? "Achou"
EndIf
EndFor
[]'s !
Juliano Martins Terterola
Microsoft Certified Professional
Porto Alegre - RS - Brazil
9 years of Visual FoxPro experience
"Though we know that time has wings
We're the ones who have to fly..."
Neil Peart - Rush