Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1140
Possible Error in ComboEdit control...
posted

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?

 

Parents
  • 469350
    Offline posted

    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.

Reply Children