LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

table key navigation lost after OGL pan

I have written a program which has a table in the panel of an easy tab menu
control. The table navigation moves the active cell using the arrows keys as
per a standard table. There is also a top level panel which has been
opened previously which contains a picture converted to an OGL control.
This has it's visible attribute set to 0 until the user
press a button to display it. A separate top level window is then displayed
with an OGL control showing a 3D image of the table data. When the user
selects the 3D image and performs a pan or zoom, then returns to the table
menu the cusror navigation does not work. You can still edit cells and
change their values and select with the mouse but you cannot use the cursor
keys to move through the table (no key press events are generated).
To regain use of the cursor keys you must select the OGL panel but
not the OGL control (i.e. click in an used portion of the panel)
and then click back in the table area again. Once this has been done navigation
works again. You can repeat this process many times and the same will occur.
I have tried using set active panel and control to try and get the table
to respond to key navigation but it does not do so until other OGL panel
has been selected then the table panel selected.
Note that I have not added any call backs to easy tab panels/controls after
they have been loaded into easy tab.
Is there something simple I am missing here or is there a real bug?
0 Kudos
Message 1 of 2
(2,779 Views)
Hello frogman,

Would it be possible for you to post an example program demonstrating this behavior so we could investigate this further?

Thanks. In the meantime, I will try to reproduce the behavior you are seeing.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 2
(2,766 Views)