Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-05

TGroupBox cannot be focused in GTK2

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

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.

Reply by email