LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to select text in a stringcontrol

Solved!
Go to solution

Hi guys!

 

Just a small question.

I got this string control in my FP:

n.png

 

Note that the text is selected (marked), like when you click behind the text and drag your mouse over it. (Hope I explained it right^^,) )

 

Well the case is, that I would like to do that programically. Let me explain:

 

Customer opens my program and the cursor starts to blink inside the string control. Then the customer use a barcodescanner on a barcode and then press START to run a test. After the test is done the customer is ready to scan a new barcode and run a new test.

 

Problem: After the first test the customer has to select and delete the number in the string control (105). Then scan a new code.

What I want: After the first test, the old barcode is selected(but not deleted) and the customer can just scan the new code which overrides the old one.

 

I looked for some property nodes, but not quite sure what to look for. I'm not familiar with all the names in LV yet.

 

Thanks and regards,

Even

 

 

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 1 of 3
(4,565 Views)
Solution
Accepted by topic author EvenDeejay
Message 2 of 3
(4,556 Views)

Perfect! Thanks alot:)

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 3 of 3
(4,532 Views)