From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Add or Edit Items in CombBox in Design or Runtime

Solved!
Go to solution

In LabView 2010, I can not add or Edit Items in ComboBox Control in either Design time or Runtime even though Allow Undefined Strings feature is enabled.

 

Edit Items Box is alwys grayed out in Design mode.

 

Down arrow next to Combo Box is always grayed out.

 

I can not have more than 1 item in ComboBox Control.

 

How can I add multiple items to the ComboBox at Design and Runtime?

0 Kudos
Message 1 of 8
(4,212 Views)

 

 

at runtime you have to use property node

 

right click on combo box in design panel -> create property node-> item

 

change to input then you can connect an array of string .

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 8
(4,204 Views)

@tinnitus wrote:

 

 

at runtime you have to use property node

 

right click on combo box in design panel -> create property node-> item

 

change to input then you can connect an array of string .

 

 


If I have the Allow Undefined Strings feature enabled, shouldn't the User be able to add strings?

 

Why can't I Edit Items at Design time?

0 Kudos
Message 3 of 8
(4,198 Views)

thing i don't understand :

 

how do you see the radio buton "allow undefined string" if you are saying you cannot add item in design panel ?

 

if you right clik on combox does properties enable, can you then reach edit items tab ?

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 4 of 8
(4,193 Views)

@tinnitus wrote:

thing i don't understand :

 

how do you see the radio buton "allow undefined string" if you are saying you cannot add item in design panel ?

 

if you right clik on combox does properties enable, can you then reach edit items tab ?

 

 


 

 

If I go to my ComboBox control on FP, right click and choose "Allow Undefined Strings" on pop-up menu. There is no radio button.

 

With or without this feature enabled, I still can't edit items in ComboBox, the table is grayed out.

 

Are you talking about some other control?

0 Kudos
Message 5 of 8
(4,187 Views)

this option had no relation about editing items or not , i hadn't notice it was accessible true pop up

 

when you rigt click is properties disable also ?

 

may be i 'm wrong i talking about that :

 

see attachement

 

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 6 of 8
(4,183 Views)

Perhaps you can attach a short video describing what you are seeing?  http://www.showmewhatswrong.com/

 

Are you using a type def control? 

 

As mentioned earlier, selecting "Allow undefined strings" doesn't determine whether you can edit items in your combo box.  It only sets whether you can input other string not in that list.

 

 

Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.
0 Kudos
Message 7 of 8
(4,148 Views)
Solution
Accepted by topic author dbaechtel

I'm not seeing the issues at this moment.

 

Restarting my CPU and LV must have fixed a temporary condition.

 

THANKS.

0 Kudos
Message 8 of 8
(4,140 Views)