Search the Community
Showing results for tags 'itemindex'.
-
How can I know if an option in TUniDbLookupComboBox selected or not , and what is its selected Item Index in JavaScript? In addition, I use LookupComboBox with "AnyMatch=True" , "Style=csDropDown"
- 4 replies
-
- tunidblookupcombobox
- javascript
-
(and 1 more)
Tagged with:
-
Hello! I have a UniComboBox with variants of data I should display, so I need to know the ItemIndex of selected item. To prevent changing the text of ComboBox manually, I set ReadOnly = True, and ReadOnlyMode = urmNotEditable. In that case ItemIndex value doesn't change, when I select an item in runtime If ReadOnly = False - itemIndex updates correctly, but I user can type any text to ComboBox text area and ItemIndex in that case = -1, it's not a good idea I think I can't set Enabled = False, cause user would not be able select items Is there any way to solve this problem? Thanks a lot for help!
- 8 replies
-
- unicombobox
- itemindex
-
(and 1 more)
Tagged with: