Hi, Here is a patch to correct the focus problem. For a reason I don't know (and can't replicate) I simply removed(ctrl+x)/add(ctrl+v) button ok and cancel so that the radiogroup is first on the list and the default focus on the taborder:=0 (radiogroup) was correct when the form displayed.
So I was able to directly use the arrow keys to select what I desired and hit enter key. Patch generated in source directory: /lazarus/ide/ Description: - corrected focus: now on first object when form is displayed -- Alexandre Leclerc
encloseselectiondlg.patch
Description: Binary data
