Key Navigation Does Not Work for Hidden Controls.Primary Software: LabVIEW Development Systems>>LabVIEW Base PackagePrimary Software Version: 8.6 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have a control on my Front Panel that I have set up Key Navigation for. I want to hide this control from the user, but when I make it invisible the keyboard shortcut no longer works. What can I do? Solution: If the Visible property of a control is set to False, any configured Key Navigation will not work. You will need to either find another way to hide the control, or handle the key press differently. To hide the control, you can place it behind other items on the front panel (using the reorder button on the tool-bar)
Alternatively, you can place it outside of the visible area of the front panel and disable scrolling for the user. To handle the key press without using Key Navigation, use the Event Structure (Functions Palette » Programming » Structures » Event Structure). Right-click on the Event Structure and select Add Event Case. Your front panel control will show up in the Event Sources section and you can select an event from the Events section that does not use key navigation, such as mouse-click events. Related Links: Developer Zone Tutorial: Event-Driven Programming in LabVIEW KnowledgeBase 1T49F8AX: Key Navigation Is Limited to the Keys Listed in the Key Navigation Dialog Attachments:
Report Date: 12/01/2008 Last Updated: 01/05/2009 Document ID: 4S0FSL6U |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
