04-22-2012 01:33 PM
Hello
I am a newby in labview and i have a question.
I have a user interface with a number a clusters with in each cluster a numeric control and some other controls.
When i enter a barcode in the numeric control of the first cluster and press enter i want to give the numeric control in the second cluster the focus.
What is teh best way to do this in Labvies
thanks in advance
04-22-2012 04:38 PM
@Tonnie wrote:
Hello
I am a newby in labview and i have a question.
I have a user interface with a number a clusters with in each cluster a numeric control and some other controls.
When i enter a barcode in the numeric control of the first cluster and press enter i want to give the numeric control in the second cluster the focus.
What is teh best way to do this in Labvies
thanks in advance
You need to use an Event Structure.
Look at the included LabVIEW examples.
04-22-2012 06:51 PM
Hi Tonnie,
You can do this by creating a reference to the control in the second cluster that you want to get Key Focus.
(Right click the control and select Create >> Reference)
When you detect the Value Change in the Numeric control in the first cluster, use the reference you created and a property node to set the Key Focus.
See the attached example.
steve