4671
XL2; Combo Box Bug Dangling Pointer
XL200

The Combo Box displays a list or text strings. If the current selection (integer value) is not in the list, the Comb Box displays "No Selection". The combo box allows for an integer entry if the user knows the code they want to select from the list and doesn’t want to scroll through it in entirety. It is expected that the user will select an entry or enter valid code from the list.

There was a bug when entering an integer value. The Combo box would delete itself and replace itself with an integer prompt. This potentially left a window with a pointer to an object that no longer existed(Dangling Pointer). Use of this pointer could result in memory corruption. Also, if they selected an invalid number, the list was no longer available for them to reference to find an entry.

Rather than delete itself the combo box is removed( not deleted) and replaced with the integer prompt. If the user enters a value that is not in the list, the integer prompt is deleted (no one has a pointer to it) and the Combo Box, with the list, is added back into the window.

Model Version Released
XL2OL 5.86.00 8/9/2022
XL2CL 5.86.00 8/9/2022
XL220OL 5.86.00 8/9/2022
XL220CL 5.86.00 8/9/2022
XL2OL 4.86.00 8/9/2022
XL2CL 4.86.00 8/9/2022
XL220OL 4.86.00 8/9/2022
XL220CL 4.86.00 8/9/2022