V60_LIST_VALUE

This variable allows you to select the algorithm used by the runtime to match a list box or combo box VALUE with an item in the control's list.

Prior to Version 6.0, setting the VALUE of a combo box or list box caused the first item in the list that started with the value of VALUE to be selected, regardless of case. Beginning with Version 6.0, when a box's VALUE is set, the list is searched for an exact, case sensitive match with the specified value. If the value is found, it is selected. If an exact match is not found, the list is searched for an exact match regardless of case. If a match is still not found, the list is searched again, this time for the first string that contains the passed VALUE as a leading substring, regardless of case. V60_LIST_VALUE allows you to specify which algorithm to use. It accepts the following values:

1 directs the runtime to use the Version 6.0 search algorithm
0 directs the runtime to use the pre-6.0 search algorithm (substring search only)
-1

      

(default) directs the runtime to use the 6.0 search algorithm on objects compiled for Version 6.0 or later, and to otherwise use the old search algorithm. This means that objects compiled for compatibility with versions prior to 6.0 that are run with a Version 6.0 runtime will not exhibit the new behavior.