I ran across what seems to me like an error with the UltraWinComboEdit control. I'm using the Combo in the "Dropdown" mode and I have set the "Nullable" property to False. In my program I'm moving the Value of the Combo to a string and TRIMMING the Value. Like String1 = comboedit.Value.Trim
Unfortunately, if I select an Item from the Dropdown List, then DELETE the Text, then hit Enter WITHOUT Tabbing out of the Combo, to run the screen io processing, it apparently sets the Value to NULL... and consequently causes a Null reference error which, since I set Nullable to False, I don't think it should do that...
Please note;
If I use the Text property in the program instead of the Value, I have no problem.
If I use the Value property with no value entered into the Combo, I have no problem.
If I use the Value property and Tab out of the field after selecting an Item then Deleting the text, I have no problem.
It's ONLY if I select an Item from the dropdown, then Delete it, then hit Enter and move the Combo value to a string WITHOUT tabbing out of the Combo, that I get the error.
Can you fix that?
This does sounds like it might be a bug. What version of the control are you using? Perhaps you just need to get the latest Hot Fix.
O.K. I've set the Specific Version setting to False and retested it. Same problem.
In that case, this sounds like a bug. I am forwarding your post to the Developer Support team so they can try it out. It would probably help speed things along if you could post a small sample project demonstrating the error.