Roberto Nicchi Posted July 14, 2021 Share Posted July 14, 2021 Hello, i have created a simple combobox component that has value and values property and is inherited by the standard Tunicombobox I would like to make it compatible with the Tunidbgrid but i have no idea if 1) is possible 2) how to do it thanks uniguiextcombobox.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 14, 2021 Share Posted July 14, 2021 6 minutes ago, Roberto Nicchi said: I would like to make it compatible with the Tunidbgrid but i have no idea if 1) is possible 2) how to do it Hello, Could you please explain in more detail? Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted July 14, 2021 Author Share Posted July 14, 2021 9 minutes ago, Sherzod said: Hello, Could you please explain in more detail? You don't understand what the TuniExtCombobx does or you don't understand what i mean with "make it compatible with the Tunidbgrid" ? Or you don't understand both things ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 14, 2021 Share Posted July 14, 2021 5 minutes ago, Roberto Nicchi said: "make it compatible with the Tunidbgrid" Well, for now this question. Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted July 14, 2021 Author Share Posted July 14, 2021 7 minutes ago, Sherzod said: Well, for now this question. Ok ok. I see that for a grid column is possible to use a unicombobox as editor. In the TuniExtComboBox is possible to insert a list of values that are associated to the list of items. The value property returns from values list the the text value that mathes the selected item. If used as editor for a dbgrid, the combobox should save in the dataset field the value property and should display in the cell the item text that matches the value. The value is never visible, it rappresents the ID that is saved in the dataset. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.