LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you disable the Auto-Complete in Combo Boxes?

I want to use the Combo Box control for entering Serial Numbers, but I don't want the Auto-Complete to operate. Can the Auto-Complete be disabled? I know that enabling the 'Update Value While Typing' option disables Auto-Complete, but this doesn't give the performance I want as I only want the value change event to go active when the entry is committed i.e. Enter is pressed or a value is selected from the pull down list.
0 Kudos
Message 1 of 5
(3,266 Views)

Hi Evtek,

can you explain why you need it? You can delete all objects, then the Auto-Complete doesn't work.

 

Mike

0 Kudos
Message 2 of 5
(3,264 Views)

Mike,

 

What I want is something like the Enter Serial number box you get at the start of Teststand sequences i.e. the user can enter a serial number, or select from the pull down list of previous serial numbers. In theory the auto-complete should be ok as all the serial numbers will be unique, but I would prefer it not to 'finish' strings that have been partially entered and happen to have the same starting digits.

 

Any help would be appreciated.

 

Evtek 

 

0 Kudos
Message 3 of 5
(3,259 Views)

Hi Evtek,

 

I'm afraid that there does not appear to be any way to disable the autocomplete of the LabVIEW combo box.  If this is a real problem the best suggestion I could give you would be to try the .net combo box.  This does allow you to disable the autocomplete mode although obivously the programming would be slightly more complex than the built in combo box.

 

Otherwise you could use the update value on every key and use a different event to trigger the movement or if it isnt the enter key that is pressed do nothing in the event case.

 

Regards,

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
0 Kudos
Message 4 of 5
(3,207 Views)

James,

 

Thanks for the reply, I'll consider the different options.

 

Regards,

 

Evtek

0 Kudos
Message 5 of 5
(3,199 Views)