DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Dia2017 dialog radiobutton

Solved!
Go to solution

Hi,

im creating a dialog box, i added radiobutton (rbTest) with one default item.

But when i want to add some items i got and error "Do not modify this list with Remove or Add.".

With combobox it works fine, but here i got error.

Should i do something different with the radiobuttons?

im using add function

 

Call rbTest.Items.Add("New item", 1)

 

diadem 2017 (17.0.0f6657) 64bit, win7 sp1

0 Kudos
Message 1 of 3
(2,430 Views)
Solution
Accepted by topic author Lukas_Doubek

Hi Lukas,

 

I checked with R&D, and they confirmed that the radio button control in the SUDialogs can only be changed at design time, not dynamically during run time.

 

Sorry for the bad news.

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 3
(2,385 Views)

Ok thanks for info, i thought its like this.

But i recommend to remove the methods (add, removeall..) from autocomplete in script view, or to write it in help for other people to not be surprised like me .)

0 Kudos
Message 3 of 3
(2,379 Views)