Hi List.

After a rather extensive debugging trying to figure out why the OnKey(Up/Down) for the GroupBox doesn't work, it has lead my to several places deep within the GTK code.

It seems as if the GroupBox in not capable of being focused. Using .SetFocus seem to divert the focus back to the Parentform. However this does not happen with a lot of other wincontrols, such as the a TPanel.

This issues is apparently only with GTK(2), as the OnKey(Up/Down) works fine in windows.

I have been searching the bugtracker and can't seem to find any issues regarding the .SetFocus. Although there are some closed reports on OnKey(Up/Down) they don't really seem related.

Kind regards,
Torsten Bonde Christiansen.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to