I have a form with a container (or a commandgroup, doesnt matter) with 6 commandbuttons. Every command buttons have 'default' property value .F.
When in 'init' event of form, i set the focus to the first commandbutton of the container, property 'default' of this commandbutton change to .T.
I've tested it with 'set step on' and it's just in this momento when occurs 'thisform.barra.buscar.setfocus()'
There's no code in class.
¿Any ideas?
TIA
Saludos,
A.G.P.
---------