LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Olivier-JOURDAN

Add "Get focus" facade VI Event to XControl

Status: Declined

National Instruments will not be implementing this idea. There is no further feature development planned for XControls.

When you use XControl in your Ui it's quite difficult to navigate into facade VI controls using tab key. Management of this navigation require a lot of work.

A way to fix this may consist in adding an "get focus" event to the facade VI. This event should be trigged each time XControl receive the focus in the Ui.

In addition to this event, we need to be able to have way to go out the facade VI when all reachable controls have been browsed.

 

Use case :

I've done an simple XControl containing only a string control with a "PlaceHolder" string. When string control is empty you configure it to display a "ghost" text to help user to fill in each fied with the right data.

If implementing "placeHolder" feature in the XControl was done in 4 hours, adding the capacity to navigate through each XControl and other object in the Ui has requiered 1 day and I can't ensure that my implementation is free of bug... 


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
3 Comments
tst
Knight of NI Knight of NI
Knight of NI

Another option would be for the XControl to simply be part of the owner's tabbing sequence - when you press tab and get to the XControl, the focus is automatically set to the first element of the XCtl which allows tabbing. When you tab out of the last element of the XCtl, you simply get to the next element in the owner.

 

 

(Although this may already be the case today. I have to admit to not checking it out, because my UIs often don't have any tabbing behavior).


___________________
Try to take over the world!
Olivier-JOURDAN
Active Participant

As far as I understand, XControl behave basicaly as a subpanel. When the subpanel get the focus focus isn't set to the controls contain in the VI inserted in the subpanel.

Anyway your option is smarter, there's no need to implement code. Hope this could be implemented easily by NI engineers.


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
Darren
Proven Zealot
Status changed to: Declined

National Instruments will not be implementing this idea. There is no further feature development planned for XControls.