Re: [Lazarus] Is TForm.LastActiveControl working correctly?

2020-12-06 Thread Juha Manninen via lazarus
On Sun, Dec 6, 2020 at 1:22 PM frans via lazarus < lazarus@lists.lazarus-ide.org> wrote: > ActiveControl and lastActiveControl always point to the same control. > > Is this a bug or is my understanding of lastActiveControl wrong? > That is how it is implemented. It is set to ActiveControl

[Lazarus] Is TForm.LastActiveControl working correctly?

2020-12-06 Thread frans via lazarus
Hi, I'm using Lazarus 2.0.10 on Windows10 and I'm trying to make use of TForm.LastActiveControl. My form has a TButtonpanel with HelpButton and CancelButton visible. There is an Actionlist with 2 actions, each with a Shortcut (F1 and Esc). The form has 3 TLabeledEdit fields. My purpose is