LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX Key Navigation Conflict

I am using the third party ActiveX application FlexCell for data entry to an SQL server through LabView. It is a table control which allows sorting, masking, etc.

 

The problem is during run mode, the Enter, Tab, and Arrow keys which normally navigate the active cell within FlexCell are instead navigating between controls on the LabView front panel.

 

I have tried linking these keys to a Key Down? event and discarding the press but it still navigates away from the Active X object.

 

Is there a way to didable the key navigation functionallity of the front panel or another solution.

 

Thanks in advance for everyones help.

 

Jesse

0 Kudos
Message 1 of 3
(2,580 Views)
I found my Error. I was using an Event Callback to access the event functionality of the ActiveX program. I used an LabView Event case to trigger a Labview Event by writing to a value(signalling) so I could write code that was not allowed in the callback VI. This cause the front panel focus to change.
0 Kudos
Message 2 of 3
(2,574 Views)

I boiled down the problem further. If I register an ActiveX callback it causes the focus of front panel to change even without any code in the callback VI. I can code around this but it would be helpfull to have the activeX event notification rather then me coding if the activecell changes with every key or mouse click.

 

Jesse

0 Kudos
Message 3 of 3
(2,564 Views)