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
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
0
Best Answer
-
Hi Matt,
Just set DropDownStyle property of the combo-box to DropDownList in the designer view.
Yuri0
Answers
-
2016-11-14-101050
Yuri --
Thank you for the information.
That worked great.
Thanks again.
-- Matt
0
Categories
- All Categories
- 961 Image-Pro v9 and higher
- 9 Image-Pro FAQs
- 18 Image-Pro Download & Install
- 448 Image-Pro General Discussions
- 486 Image-Pro Automation (Macros, Apps, Reports)
- 20 AutoQuant Deconvolution
- 2 AutoQuant Download & Install
- 18 AutoQuant General Discussions
- 195 Image-Pro Plus v7 and lower
- 3 Image-Pro Plus Download & Install
- 106 Image-Pro Plus General Discussions
- 86 Image-Pro Plus Automation with Macros
- 19 Legacy Products
- 16 Image-Pro Premier 3D General Discussions
- 26 Image-Pro Insight General Discussions