discriminating accelerators



Hi!

In my app I want to reach the following:

- one toplevel window
- a notebook with several pages for input
- on the notebook pages some buttons with accelerators attached
- some of the accelerator keys are the same and should behave
differently

May question:

If page one has an accel key "F1" and page two either, how can i prevent
page two form taking over the accelerator?

It seems to be always the last created who wins. But actually the active
page in the notebook should be steering the reaction on the keypress.


TIA,
Marc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]