Dear Esgici, there is another question regarding UPPER case transform in special characters. For spanish, portuguese and probably other languages which uses accents in it character like as "á" which after UPPER is not be converted to "Á". For right behaviour, I believe this array list should be not with accents. Probably in ANSI it works perfectely...esgici wrote:And second ( as in early versions of CSBx ) implementing search operation ( lines 226 trough 236 in of combosearchbox.prg in HFCL lib) may be a bit different:
Code: Select all
cSearchValue := TRIM( UPPER( cCurValue ) ) // Compare TRIM() with HB_TRIM() // and UPPER() with HB_UPPER() AEVAL( aitems, { | c1 | IF( UPPER( LEFT( c1, LEN( cSearchValue ) ) ) == cSearchValue,; AADD( aResults, c1 ), ) } ) IF EMPTY( aResults ) .AND. lAnyWhere AEVAL( aitems, { | c1 | IF( cSearchValue $ UPPER( c1 ),; AADD( aResults, c1 ), ) } ) ENDIF
And another question which you Esgici not answered yet: Could you fix this ?