Radio_widget add/remove item

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Radio_widget add/remove item

    Hello.
    In my window, I need to change the number of radio item according to the current list box item selected .
    In my window I have :
    One listbox and one radio.

    According to the item selected int the Listbox, I need to update the radio -> the text, but also the number of item in the radio.
    I can't see any api in the radio widdget for this feature.

    I don't know what is the best solution ?

    Do you have any idea ?

    In attached a view of what i want to do ...
    Images
    • radio.png

      5.72 kB, 636×373, viewed 403 times
  • Hi,

    try the sample attached. There I create initially the RADIO widgets at the same position but only one is visible. On a selection change of the LISTBOX I switch the visibility of the RADIO widgets.

    Regards,
    Sven
    Files
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.