[Lazarus] GLScene in Gtk2 - patch

Paulo Malheiros paulo.malheiros at fe.up.pt
Sat Oct 18 18:58:05 CEST 2008


Micha Nelissen wrote:
> Brad Campbell wrote:
>> G'day all,
>>
>> Here is another one.
>>
>> Create a new form and place a TMainMenu, TEdit and TButton on the form.
>>
>> Create a File/Quit menu and assign the quit menu the shortcut ctrl+W.
> [..]
>> Now, when the TEdit has focus, the shortcut does not work. The only way to get it to work is click 
>> the button (to focus it). Now you can close the form with ctrl-W.
> 
> Probably the Gtk2/TEdit implementation handles Ctrl+W specially. It 
> usually means erase previous word before cursor.

Ok, perhaps I picked a bad example.
I've also tested Ctrl-O / Ctrl-S / F10 / Ctrl-N / Ctrl-Q..

Brad
-- 
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.



More information about the Lazarus mailing list