#1 2015-02-15 14:22:12

Firali
Member
Registered: 2015-02-09
Posts: 15

TSQLTableToGrid: Incremental search with unicode chars

Is it possible to do Incremental search with unicode chars?

Offline

#2 2015-02-16 07:21:23

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: TSQLTableToGrid: Incremental search with unicode chars

I thought it was working.
What is the problem?

Offline

#3 2015-02-16 19:31:40

Firali
Member
Registered: 2015-02-09
Posts: 15

Re: TSQLTableToGrid: Incremental search with unicode chars

Problem is in mORMotUI.pas unit on line 1353

fIncrementalSearch := fIncrementalSearch+RawUTF8(NormToUpper[AnsiChar(Key)]);

"Key" is Char and is casted as AnsiChar.

Also Table.SearchValue function does not works with unicode chars.

Last edited by Firali (2015-02-16 19:32:23)

Offline

#4 2015-02-19 19:37:57

Firali
Member
Registered: 2015-02-09
Posts: 15

Re: TSQLTableToGrid: Incremental search with unicode chars

Hello ab.

Any suggestion about it?

Thanks.

Offline

Board footer

Powered by FluxBB