Re: [Lazarus] Purpose of TControl.UpdateRolesForForm?

2011-10-09 Thread Vincent Snijders
2011/10/9 Hans-Peter Diettrich : > This method is called by a form, when its Default or Cancel control changes. > But why do the affected controls receive no hint about their new role? > > What's the intended purpose of this method? > > If it is used (overridden) only in TCustomButton, the (there)

[Lazarus] Purpose of TControl.UpdateRolesForForm?

2011-10-09 Thread Hans-Peter Diettrich
This method is called by a form, when its Default or Cancel control changes. But why do the affected controls receive no hint about their new role? What's the intended purpose of this method? If it is used (overridden) only in TCustomButton, the (there) interesting information could be passed