The tab key doesn't seem to fix it. I don't think it's an issue with keyboard focus because other keys that effect the GL window (like zooming in and out, with 'i' and 'o') always work. Is there anything else I can check? Kevin
> Sounds like it might be a simple issue with keyboard focus. If you can fix > this problem interactively by simply hitting the tab key once or a couple of > times to move the focus to the GL window, then that would confirm it. In > this case, simply set the focus to the GL window when you show the form. > > Don. > > > > Hi, > > I'm writing a program that has an opengl window, and some > > Fl_Text_Displays. The opengl window is setup to pan left and right when you > > press the arrow keys on the keyboard. But when I add more than one > > Fl_Text_Display with text buffers, the arrow keys no longer pan the opengl > > window. > > More specifically, I can create one Fl_Text_Display and add a text buffer > > with ->buffer(...) without any problem. I can add a second Fl_Text_Display > > without any problem. But as soon as I try to add text to the second > > Fl_Text_Display with ->buffer(...), the arrow keys no longer work to pan > > the opengl window. > > I am new to GUI programming, but I assume this has something to do with > > handles or callbacks (the Fl_Text_Display is taking control of the arrow > > keys?). What I don't understand is why I only have the problem when I have > > 2 Fl_Text_Displays with buffers. Any ideas on how to fix this? > > Thank you > > > > > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

