>>Yes, only one. On this form there is only one. Enter from any other input object other then the grid works perfectly fine. :(
>>
>>Maybe you misunderstand. I have large containers and a lot of them. If I have the default object in the last one there is a lot of useless parsing. Also i parse all if there is no default object at all.
>>
>
>Maybe add a property to your form class to point to the default button. I'm not sure whether an assign method on the Default property will fire if you set it in the property sheet; my guess is not. But if you set it in the button's Init method instead, then an assign method should fire to populate the form property.
>
>Tamar
Hi Tamar,
yes, _Assign will not fire by properties set at design time (I think in class definition of a prg too, but this is not tested.) It need to be called like
PROCEDURE INIT
THIS.Prop = THIS.Prop
ENDPROC
Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]