Home Image-Pro Automation (Macros, Apps, Reports)

How can I setup a COMBOBOX so that its ITEM VALUES are READONLY?

All --

I have a PREMIER APP that includes a COMBOBOX. 

The APP sets the COMBOBOX.ITEMS.

While the APP is running, the COMBOBOX works well unless the USER selects and changes the ITEM VALUE.

The COMBOBOX starts working again if the USER selects an unedited ITEM, and the edited ITEM returns to its intended value but I would like to keep this issue from happening.

Is there a way to make a COMBOBOX READONLY (in the same way that a TEXTBOX can be made READONLY) so the USER can see the ITEMS (and their VALUES) and select an ITEM but cannot change an ITEM VALUE?

Thanks.

-- Matt

Best Answer

  • Answer ✓
    Hi Matt,

    Just set DropDownStyle property of the combo-box to DropDownList in the designer view.

    Yuri

Answers

  • 2016-11-14-101050

    Yuri --

    Thank you for the information.

    That worked great.

    Thanks again.

    -- Matt
Sign In or Register to comment.