From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
manu.NET

Update while typing for comboboxes ....

Status: New

Hello,

 

When using comboboxes with "allowUndefinedString Flag" set to true, it should be nice to be abble 

to catch an event during typing ... and before the control validation.

 

So it could be possible to analyse the typed string ... during writing ... in order to made string check ... enabling or disabling buttons ... etc ...

 

Manu.

Manu.net
4 Comments
shb
Active Participant
Active Participant

In string controls you can set Update Value while Typing in the context menu. A combobox only has this as a property in the property node. It should be added to the context menu.

 

But setting this property has some drawbacks:

 * You do not know when the value is final (the user hited enter or clicked into another control)

 * Editing the value can no longer be canceled by escape

 

Using the the key down event combined with the combo box property Text.Text sounds better:

Combobox Text while Typing.png

shb
Active Participant
Active Participant

see also in Darren's Weekly News

manu.NET
Active Participant

Thank you shb,

 

Your solution "key down + combobox.text" works fine ! Smiley Very Happy

 

Manu.

Manu.net
sushu
Member

greate.

sushu;
Certified LabVIEW Developer (CLD);