But, having 'set keycomp to dos' i must use enter to pass through fields and 'ctrl + enter' to activate the 'default' commandbutton i exists.
In resume:
The only thing i want to obtain is a form with no 'default' commandbutton. Even if one of them has getted and losted the focus one or more times.
And i have a lot. This must be a specific problem with this form... isn't it?
>>This is not posible. I have a lot of forms with several commandbuttons and 'default' properties remains .F. so i can pass through fields with 'enter' key without activating 'click' of any commandbutton.
>>'Default' property must not change value by him self without code that order it.
>>
>>
>>
>
>First, you should not be "passing through fields" with the Enter key. Windows guidelines specify that Tab should be used.
>
>Second, you are getting the proper behavior for CommandGroups.
Saludos,
A.G.P.
---------