
Hello,
currently I am running into this problem I can't seem to find a solution for. My situation:
I have a form which has a Grid. Under that grid I have a form. Under that form I have two comboboxes and an intEdit. Relevant for me is the first combobox. Basically it would look something like this:
Grid
Group
ComboBox
This combobox has a datasource and a datafield, where the field has an EnumType. The Enum contains, let's say, two values:
0 - Hello
1 - Goodbye
What I want is to prevent option 1 - Goodbye from being shown in the dropdown of the combobox. I found solutions with the https://msdn.microsoft.com/en-us/library/dialogenumcombobox.aspx class, but those apply to comboboxes outside of a Grid only, which is not the case for me.
I would really love some help on this one. Thank you very much!
Best regards
Niklas
*This post is locked for comments
I have the same question (0)I decided to limit the options so that when the value I wanted to delete is selected, the user cannot change it's properties, since I could not find any solution except for putting the ComboBox outside of the Grid.