Maximilian Bräutigam
2009-Oct-12 12:15 UTC
AcceleratorTable to "tab" the formular & trapping signals from frame border buttons
Hi all, I have two problems and I would be very happy if we could solve them. Thanks in advance. my first problem: I want to realise a formular for user input that is able to switch the activated TextCtrl (there are a few) by clicking "TAB". It is quiet easy to trap the Tab click but I have no idea how to handle the "activation" of the next TextCtrl. Maybe the solution is simple but I don''t see it?! ;( Code so far: acc_table = Wx::AcceleratorTable[ [ Wx::ACCEL_NORMAL, Wx::K_TAB, 8001 ] ] self.accelerator_table = acc_table evt_menu(8001) { puts "what to do?" } my second problem: how do I trap a signal from the window border icons - I don''t know how it is called, I mean "minimize", "maximize" and "exit" buttons in the upper right corner? If you want to see the whole project: http://labdiary.sourceforge.net/ Help is always welcome. Thank you very much! Kind regards, der Max